From df7871fa6ba06261957dc88ba393994d35993290 Mon Sep 17 00:00:00 2001 From: julian Date: Wed, 26 Oct 2022 16:49:38 -0600 Subject: [PATCH] WIP: keys + sync status --- .../wallet_view/desktop_wallet_view.dart | 51 +++++++++++++++++-- 1 file changed, 46 insertions(+), 5 deletions(-) diff --git a/lib/pages_desktop_specific/home/my_stack_view/wallet_view/desktop_wallet_view.dart b/lib/pages_desktop_specific/home/my_stack_view/wallet_view/desktop_wallet_view.dart index 7f13c7fd8..f86eba750 100644 --- a/lib/pages_desktop_specific/home/my_stack_view/wallet_view/desktop_wallet_view.dart +++ b/lib/pages_desktop_specific/home/my_stack_view/wallet_view/desktop_wallet_view.dart @@ -98,7 +98,7 @@ class _DesktopWalletViewState extends ConsumerState { children: const [ NetworkInfoButton(), SizedBox( - width: 12, + width: 32, ), WalletKeysButton(), SizedBox( @@ -467,8 +467,28 @@ class NetworkInfoButton extends StatelessWidget { @override Widget build(BuildContext context) { - return Container( - child: Text("todo: sync status"), + return GestureDetector( + child: Container( + color: Colors.transparent, + child: Row( + children: [ + SvgPicture.asset( + Assets.svg.network, + width: 24, + height: 24, + color: + Theme.of(context).extension()!.accentColorGreen, + ), + const SizedBox( + width: 6, + ), + Text( + "Synchronised", + style: STextStyles.desktopMenuItemSelected(context), + ) + ], + ), + ), ); } } @@ -478,8 +498,29 @@ class WalletKeysButton extends StatelessWidget { @override Widget build(BuildContext context) { - return Container( - child: Text("todo: wallet keys"), + return GestureDetector( + child: Container( + color: Colors.transparent, + child: Row( + children: [ + SvgPicture.asset( + Assets.svg.key, + width: 20, + height: 20, + color: Theme.of(context) + .extension()! + .buttonTextSecondary, + ), + const SizedBox( + width: 6, + ), + Text( + "Wallet keys", + style: STextStyles.desktopMenuItemSelected(context), + ) + ], + ), + ), ); } }