Improved layout, fixed transaction popup
This commit is contained in:
@@ -1,12 +1,18 @@
|
||||
part of 'account_bloc.dart';
|
||||
|
||||
final class AccountState extends Equatable {
|
||||
const AccountState();
|
||||
final Set<String> subAccounts;
|
||||
|
||||
AccountState copyWith() {
|
||||
return const AccountState();
|
||||
const AccountState({
|
||||
this.subAccounts = const {},
|
||||
});
|
||||
|
||||
AccountState copyWith(Set<String>? subAccounts) {
|
||||
return AccountState(
|
||||
subAccounts: subAccounts ?? this.subAccounts,
|
||||
);
|
||||
}
|
||||
|
||||
@override
|
||||
List<Object?> get props => [];
|
||||
List<Object?> get props => [subAccounts];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user