refactor(ui): update DetailDevice screen layout
This commit is contained in:
@@ -38,7 +38,6 @@ class _MyAppState extends State<MyApp> {
|
||||
Locale? _locale;
|
||||
late MainBloc mainBloc;
|
||||
LanguageServices languageServices = LanguageServices();
|
||||
// late ThemeNotifier themeNotifier;
|
||||
setLocale(Locale locale) {
|
||||
_locale = locale;
|
||||
mainBloc.sinkLanguage.add(_locale);
|
||||
@@ -48,10 +47,6 @@ class _MyAppState extends State<MyApp> {
|
||||
void initState() {
|
||||
super.initState();
|
||||
mainBloc = BlocProvider.of(context);
|
||||
// themeNotifier = Provider.of<ThemeNotifier>(context, listen: false);
|
||||
// ThemeNotifier().loadThemeFromPreferences();
|
||||
// log("ThemeKey1: ${LocaleManager.instance.getStringValue(PreferencesKeys.THEME)}");
|
||||
// log("Date: ${DateTime.parse("2024-11-16T07:17:36.785Z")}");
|
||||
}
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user