mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-20 17:53:56 +00:00
feat: improve app theming code and add Material You (#58)
This commit is contained in:
@@ -13,7 +13,6 @@ import 'package:revanced_manager/ui/views/root_checker/root_checker_view.dart';
|
||||
import 'package:revanced_manager/ui/views/settings/settings_view.dart';
|
||||
import 'package:stacked/stacked_annotations.dart';
|
||||
import 'package:stacked_services/stacked_services.dart';
|
||||
import 'package:stacked_themes/stacked_themes.dart';
|
||||
|
||||
@StackedApp(
|
||||
routes: [
|
||||
@@ -31,10 +30,6 @@ import 'package:stacked_themes/stacked_themes.dart';
|
||||
LazySingleton(classType: HomeViewModel),
|
||||
LazySingleton(classType: PatcherViewModel),
|
||||
LazySingleton(classType: NavigationService),
|
||||
LazySingleton(
|
||||
classType: ThemeService,
|
||||
resolveUsing: ThemeService.getInstance,
|
||||
),
|
||||
LazySingleton(classType: ManagerAPI),
|
||||
LazySingleton(classType: PatcherAPI),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user