Jelajahi Sumber

minor rename

Neeraj Gupta 3 tahun lalu
induk
melakukan
d2ce10d90b
2 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 2 2
      lib/app.dart
  2. 1 1
      lib/main.dart

+ 2 - 2
lib/app.dart

@@ -10,7 +10,7 @@ import 'package:photos/services/app_lifecycle_service.dart';
 import 'package:photos/services/sync_service.dart';
 import 'package:photos/services/sync_service.dart';
 import 'package:photos/ui/home_widget.dart';
 import 'package:photos/ui/home_widget.dart';
 
 
-final themeData = ThemeData(
+final darkThemeData = ThemeData(
   fontFamily: 'Ubuntu',
   fontFamily: 'Ubuntu',
   brightness: Brightness.dark,
   brightness: Brightness.dark,
   hintColor: Colors.grey,
   hintColor: Colors.grey,
@@ -71,7 +71,7 @@ class _EnteAppState extends State<EnteApp> with WidgetsBindingObserver {
   Widget build(BuildContext context) {
   Widget build(BuildContext context) {
     return MaterialApp(
     return MaterialApp(
       title: "ente",
       title: "ente",
-      theme: themeData,
+      theme: darkThemeData,
       home: EnteApp._homeWidget,
       home: EnteApp._homeWidget,
       debugShowCheckedModeBanner: false,
       debugShowCheckedModeBanner: false,
       navigatorKey: Network.instance.getAlice().getNavigatorKey(),
       navigatorKey: Network.instance.getAlice().getNavigatorKey(),

+ 1 - 1
lib/main.dart

@@ -60,7 +60,7 @@ Future<void> _runInForeground() async {
       builder: (args) => EnteApp(_runBackgroundTask, _killBGTask),
       builder: (args) => EnteApp(_runBackgroundTask, _killBGTask),
       lockScreen: LockScreen(),
       lockScreen: LockScreen(),
       enabled: Configuration.instance.shouldShowLockScreen(),
       enabled: Configuration.instance.shouldShowLockScreen(),
-      themeData: themeData,
+      themeData: darkThemeData,
     ));
     ));
   });
   });
 }
 }