Skip to content

Commit

Permalink
fix: make build properties final
Browse files Browse the repository at this point in the history
  • Loading branch information
parodyBit committed Oct 22, 2024
1 parent ec003d0 commit da16650
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions lib/widgets/balance.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ class BalanceState extends State<Balance> {

return BlocBuilder<DashboardBloc, DashboardState>(
builder: (BuildContext context, DashboardState state) {
Account currentAccount =
final Account currentAccount =
Locator.instance.get<ApiDatabase>().walletStorage.currentAccount;
Wallet currentWallet =
final Wallet currentWallet =
Locator.instance.get<ApiDatabase>().walletStorage.currentWallet;

return Column(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Expand Down
2 changes: 1 addition & 1 deletion lib/widgets/layouts/dashboard_layout.dart
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class DashboardLayoutState extends State<DashboardLayout>
}
return BlocBuilder<DashboardBloc, DashboardState>(
builder: (BuildContext context, DashboardState state) {
Wallet currentWallet =
final Wallet currentWallet =
Locator.instance.get<ApiDatabase>().walletStorage.currentWallet;
return Layout(
scrollController: widget.scrollController,
Expand Down

0 comments on commit da16650

Please sign in to comment.