mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-06-12 20:57:36 +02:00
feat: theme switching.
This commit is contained in:
@ -2,18 +2,6 @@ import 'package:stacked/stacked.dart';
|
||||
|
||||
class SettingsViewModel extends BaseViewModel {
|
||||
bool isDarkMode = true;
|
||||
bool isDynamicColors = false;
|
||||
|
||||
void toggleDynamicColors() {
|
||||
isDynamicColors = !isDynamicColors;
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
void toggleTheme() {
|
||||
isDarkMode = !isDarkMode;
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
void setLanguage(String language) {
|
||||
notifyListeners();
|
||||
}
|
||||
|
Reference in New Issue
Block a user