Skip to content

Commit

Permalink
fix tab controller issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Serhii-Borodenko committed Jan 9, 2025
1 parent 86a29c6 commit 46ace2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/screens/dashboard/pages/balance/balance_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class BalancePage extends StatelessWidget {
builder: (context) {
final isEVMCompatible = isEVMCompatibleChain(dashboardViewModel.type);
return DefaultTabController(
key: ValueKey<bool>(isEVMCompatible),
length: isEVMCompatible ? 2 : 1,
child: Column(
children: [
Expand Down

0 comments on commit 46ace2d

Please sign in to comment.