mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-28 21:31:05 +00: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