Skip to content

Commit

Permalink
get a wallet fix
Browse files Browse the repository at this point in the history
  • Loading branch information
quetool committed Nov 16, 2023
1 parent 95aefdb commit a6fc651
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
12 changes: 12 additions & 0 deletions lib/pages/get_wallet_page.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'dart:io';
import 'dart:math';

import 'package:flutter/material.dart';
Expand Down Expand Up @@ -48,6 +49,17 @@ class GetWalletPage extends StatelessWidget {

return WalletsList(
itemList: itemsToShow,
onTapWallet: (data) {
final url = Platform.isIOS
? data.listing.appStore
: data.listing.playStore;
if ((url ?? '').isNotEmpty) {
urlUtils.instance.launchUrl(
Uri.parse(url!),
mode: LaunchMode.externalApplication,
);
}
},
lastItem: AllWalletsItem(
title: 'Explore all',
onTap: () => urlUtils.instance.launchUrl(
Expand Down
1 change: 0 additions & 1 deletion lib/widgets/miscellaneous/searchbar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ class _Web3ModalSearchBarState extends State<Web3ModalSearchBar>
textAlignVertical: TextAlignVertical.center,
style: TextStyle(
color: themeColors.foreground100,
height: 1.5,
),
cursorColor: themeColors.accent100,
enableSuggestions: false,
Expand Down

0 comments on commit a6fc651

Please sign in to comment.