Eduardo Florence

Set darkThem equal them when darkTheme is null

@@ -245,7 +245,8 @@ class GetMaterialApp extends StatelessWidget { @@ -245,7 +245,8 @@ class GetMaterialApp extends StatelessWidget {
245 onGenerateTitle: onGenerateTitle, 245 onGenerateTitle: onGenerateTitle,
246 color: color, 246 color: color,
247 theme: _.theme ?? theme ?? ThemeData.fallback(), 247 theme: _.theme ?? theme ?? ThemeData.fallback(),
248 - darkTheme: _.darkTheme ?? darkTheme ?? ThemeData.fallback(), 248 + darkTheme:
  249 + _.darkTheme ?? darkTheme ?? theme ?? ThemeData.fallback(),
249 themeMode: _.themeMode ?? themeMode, 250 themeMode: _.themeMode ?? themeMode,
250 locale: Get.locale ?? locale, 251 locale: Get.locale ?? locale,
251 localizationsDelegates: localizationsDelegates, 252 localizationsDelegates: localizationsDelegates,
@@ -293,7 +294,8 @@ class GetMaterialApp extends StatelessWidget { @@ -293,7 +294,8 @@ class GetMaterialApp extends StatelessWidget {
293 onGenerateTitle: onGenerateTitle, 294 onGenerateTitle: onGenerateTitle,
294 color: color, 295 color: color,
295 theme: _.theme ?? theme ?? ThemeData.fallback(), 296 theme: _.theme ?? theme ?? ThemeData.fallback(),
296 - darkTheme: _.darkTheme ?? darkTheme ?? ThemeData.fallback(), 297 + darkTheme:
  298 + _.darkTheme ?? darkTheme ?? theme ?? ThemeData.fallback(),
297 themeMode: _.themeMode ?? themeMode, 299 themeMode: _.themeMode ?? themeMode,
298 locale: Get.locale ?? locale, 300 locale: Get.locale ?? locale,
299 localizationsDelegates: localizationsDelegates, 301 localizationsDelegates: localizationsDelegates,