mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
17 lines
482 B
Dart
17 lines
482 B
Dart
import 'package:revanced_manager/app/app.locator.dart';
|
|
import 'package:revanced_manager/app/app.router.dart';
|
|
import 'package:stacked/stacked.dart';
|
|
import 'package:stacked_services/stacked_services.dart';
|
|
|
|
class SettingsViewModel extends BaseViewModel {
|
|
final _navigationService = locator<NavigationService>();
|
|
|
|
void setLanguage(String language) {
|
|
notifyListeners();
|
|
}
|
|
|
|
void navigateToContributors() {
|
|
_navigationService.navigateTo(Routes.contributorsView);
|
|
}
|
|
}
|