forked from firka/firka
main: invalidate ui on platform brightness change
This commit is contained in:
@@ -208,6 +208,7 @@ Future<AppInitialization> initializeApp() async {
|
||||
var dispatcher = SchedulerBinding.instance.platformDispatcher;
|
||||
|
||||
dispatcher.onPlatformBrightnessChanged = () {
|
||||
globalUpdate.update();
|
||||
initTheme(init);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user