1
0
forked from baron/baron-sso

flutter 린트 적용

This commit is contained in:
2026-02-19 16:08:42 +09:00
parent 466e7f1e54
commit 3eb7ed01ee
8 changed files with 35 additions and 73 deletions

View File

@@ -38,11 +38,10 @@ class LanguageSelector extends StatelessWidget {
}
LocaleStorage.write(value);
await context.setLocale(Locale(value));
if (!context.mounted) return;
final uri = GoRouterState.of(context).uri;
final target = buildLocalizedPath(value, uri);
if (context.mounted) {
context.go(target);
}
context.go(target);
},
),
);