mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-22 10:45:08 +00:00
small fix
This commit is contained in:
parent
290a02e31c
commit
6cb68a516a
1 changed files with 3 additions and 3 deletions
|
@ -63,19 +63,19 @@ class SyncIndicator extends StatelessWidget {
|
|||
switch (dashboardViewModel.torViewModel.torConnectionStatus) {
|
||||
case TorConnectionStatus.connected:
|
||||
torImage = Image.asset(
|
||||
'assets/images/tor_onion.png',
|
||||
'assets/images/tor_onion.svg',
|
||||
color: Color(0x6000D9),
|
||||
);
|
||||
break;
|
||||
case TorConnectionStatus.connecting:
|
||||
torImage = Image.asset(
|
||||
'assets/images/tor_onion.png',
|
||||
'assets/images/tor_onion.svg',
|
||||
color: Theme.of(context).extension<SyncIndicatorTheme>()!.notSyncedIconColor,
|
||||
);
|
||||
break;
|
||||
case TorConnectionStatus.disconnected:
|
||||
torImage = Image.asset(
|
||||
'assets/images/tor_onion.png',
|
||||
'assets/images/tor_onion.svg',
|
||||
color: Theme.of(context).extension<SyncIndicatorTheme>()!.textColor,
|
||||
);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue