dynamic theme, basic category settings
This commit is contained in:
@@ -172,10 +172,7 @@ class AccountBloc extends Bloc<AccountEvent, AccountState> {
|
||||
|
||||
_onAccountEditLabel(AccountEditLabel event, Emitter<AccountState> emit) async {
|
||||
Account account = event.account;
|
||||
account.label = event.label;
|
||||
emit(
|
||||
state.copyWith(await _saveAccount(account))
|
||||
);
|
||||
// TODO check for existance, rename every transaction
|
||||
}
|
||||
|
||||
_onAccountEditSaving(AccountEditSaving event, Emitter<AccountState> emit) async {
|
||||
|
||||
Reference in New Issue
Block a user