mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-26 20:26:02 +00:00
WIP: keys + sync status
This commit is contained in:
parent
747ad30d74
commit
df7871fa6b
1 changed files with 46 additions and 5 deletions
|
@ -98,7 +98,7 @@ class _DesktopWalletViewState extends ConsumerState<DesktopWalletView> {
|
||||||
children: const [
|
children: const [
|
||||||
NetworkInfoButton(),
|
NetworkInfoButton(),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: 12,
|
width: 32,
|
||||||
),
|
),
|
||||||
WalletKeysButton(),
|
WalletKeysButton(),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
|
@ -467,8 +467,28 @@ class NetworkInfoButton extends StatelessWidget {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Container(
|
return GestureDetector(
|
||||||
child: Text("todo: sync status"),
|
child: Container(
|
||||||
|
color: Colors.transparent,
|
||||||
|
child: Row(
|
||||||
|
children: [
|
||||||
|
SvgPicture.asset(
|
||||||
|
Assets.svg.network,
|
||||||
|
width: 24,
|
||||||
|
height: 24,
|
||||||
|
color:
|
||||||
|
Theme.of(context).extension<StackColors>()!.accentColorGreen,
|
||||||
|
),
|
||||||
|
const SizedBox(
|
||||||
|
width: 6,
|
||||||
|
),
|
||||||
|
Text(
|
||||||
|
"Synchronised",
|
||||||
|
style: STextStyles.desktopMenuItemSelected(context),
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -478,8 +498,29 @@ class WalletKeysButton extends StatelessWidget {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Container(
|
return GestureDetector(
|
||||||
child: Text("todo: wallet keys"),
|
child: Container(
|
||||||
|
color: Colors.transparent,
|
||||||
|
child: Row(
|
||||||
|
children: [
|
||||||
|
SvgPicture.asset(
|
||||||
|
Assets.svg.key,
|
||||||
|
width: 20,
|
||||||
|
height: 20,
|
||||||
|
color: Theme.of(context)
|
||||||
|
.extension<StackColors>()!
|
||||||
|
.buttonTextSecondary,
|
||||||
|
),
|
||||||
|
const SizedBox(
|
||||||
|
width: 6,
|
||||||
|
),
|
||||||
|
Text(
|
||||||
|
"Wallet keys",
|
||||||
|
style: STextStyles.desktopMenuItemSelected(context),
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue