From f446da4d746e6ec3bd9350405a6b1e3950a17e7c Mon Sep 17 00:00:00 2001 From: vjrj <vjrj@comunes.org> Date: Thu, 8 Jun 2023 23:11:12 +0200 Subject: [PATCH] G1 is expert mode is disabled (thx @arbocenc) --- lib/data/models/app_cubit.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/data/models/app_cubit.dart b/lib/data/models/app_cubit.dart index 94611f19..475a751a 100644 --- a/lib/data/models/app_cubit.dart +++ b/lib/data/models/app_cubit.dart @@ -57,6 +57,10 @@ class AppCubit extends HydratedCubit<AppState> { return state.tutorials[tutorialId] ?? false; } + void setG1Currency() { + emit(state.copyWith(currency: Currency.G1)); + } + void switchCurrency() { emit(state.copyWith( currency: state.currency == Currency.G1 ? Currency.DU : Currency.G1)); -- GitLab