Skip to content

Commit

Permalink
fixup! chore: display in bottom tab, not in dialogue
Browse files Browse the repository at this point in the history
  • Loading branch information
Restioson committed Sep 8, 2023
1 parent 6be5674 commit 7eddcdd
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions mobile/lib/features/wallet/wallet_history_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -166,16 +166,15 @@ abstract class WalletHistoryItem extends StatelessWidget {
isScrollControlled: true,
useRootNavigator: true,
context: context,
builder: (BuildContext context) =>
SafeArea(
child: Padding(
padding: EdgeInsets.fromLTRB(
16,
16,
16,
MediaQuery.of(context).viewInsets.bottom + 16,
),
child: Column(mainAxisSize: MainAxisSize.min, children: [
builder: (BuildContext context) => SafeArea(
child: Padding(
padding: EdgeInsets.fromLTRB(
16,
16,
16,
MediaQuery.of(context).viewInsets.bottom + 16,
),
child: Column(mainAxisSize: MainAxisSize.min, children: [
SizedBox(width: 50, height: 50, child: icon),
const SizedBox(height: 10),
Text("You $verb"),
Expand All @@ -188,9 +187,8 @@ abstract class WalletHistoryItem extends StatelessWidget {
.where((child) => child is! Visibility || child.visible)
.expand((child) => [child, const Divider()]),
details.last,
]),
))
);
]),
)));
}
}

Expand Down

0 comments on commit 7eddcdd

Please sign in to comment.