mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 00:05:16 +00:00
Automatically apply new dark theme settings
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
import 'package:comunic/helpers/preferences_helper.dart';
|
||||
import 'package:comunic/main.dart';
|
||||
import 'package:comunic/ui/routes/full_screen_image.dart';
|
||||
import 'package:comunic/ui/widgets/dialogs/auto_sized_dialog_content_widget.dart';
|
||||
import 'package:comunic/utils/intl_utils.dart';
|
||||
@ -222,3 +223,7 @@ void showAboutAppDialog(BuildContext context) {
|
||||
),
|
||||
]);
|
||||
}
|
||||
|
||||
/// Apply new theme settings
|
||||
void applyNewThemeSettings(BuildContext context) =>
|
||||
context.findAncestorStateOfType<ComunicApplicationState>().refresh();
|
||||
|
Reference in New Issue
Block a user