fix: currentTheme
Signed-off-by: Kingtous <kingtous@qq.com>
This commit is contained in:
parent
5a953cc8df
commit
fa8514aefe
1 changed files with 2 additions and 2 deletions
|
|
@ -15,10 +15,10 @@ import 'package:window_manager/window_manager.dart';
|
|||
|
||||
import 'common.dart';
|
||||
import 'consts.dart';
|
||||
import 'models/platform_model.dart';
|
||||
import 'mobile/pages/home_page.dart';
|
||||
import 'mobile/pages/server_page.dart';
|
||||
import 'mobile/pages/settings_page.dart';
|
||||
import 'models/platform_model.dart';
|
||||
|
||||
int? windowId;
|
||||
|
||||
|
|
@ -55,7 +55,7 @@ Future<Null> main(List<String> args) async {
|
|||
}
|
||||
|
||||
ThemeData getCurrentTheme() {
|
||||
return isDarkTheme() ? MyTheme.darkTheme : MyTheme.darkTheme;
|
||||
return isDarkTheme() ? MyTheme.darkTheme : MyTheme.lightTheme;
|
||||
}
|
||||
|
||||
Future<void> initEnv(String appType) async {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue