mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-05 01:27:49 +08:00
@@ -6,10 +6,10 @@ extension GetExt on GetInterface {
|
||||
GetInstance().putOrFind(dep, tag: tag);
|
||||
|
||||
void updateMyAppTheme() {
|
||||
final (l, d) = MyApp.getAllTheme();
|
||||
final (light, dark) = MyApp.getAllTheme();
|
||||
rootController
|
||||
..theme = l
|
||||
..darkTheme = d
|
||||
..theme = light
|
||||
..darkTheme = dark
|
||||
..update();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user