small fix

This commit is contained in:
fosse 2024-02-22 15:39:26 -05:00
parent 290a02e31c
commit 6cb68a516a

View file

@ -63,19 +63,19 @@ class SyncIndicator extends StatelessWidget {
switch (dashboardViewModel.torViewModel.torConnectionStatus) { switch (dashboardViewModel.torViewModel.torConnectionStatus) {
case TorConnectionStatus.connected: case TorConnectionStatus.connected:
torImage = Image.asset( torImage = Image.asset(
'assets/images/tor_onion.png', 'assets/images/tor_onion.svg',
color: Color(0x6000D9), color: Color(0x6000D9),
); );
break; break;
case TorConnectionStatus.connecting: case TorConnectionStatus.connecting:
torImage = Image.asset( torImage = Image.asset(
'assets/images/tor_onion.png', 'assets/images/tor_onion.svg',
color: Theme.of(context).extension<SyncIndicatorTheme>()!.notSyncedIconColor, color: Theme.of(context).extension<SyncIndicatorTheme>()!.notSyncedIconColor,
); );
break; break;
case TorConnectionStatus.disconnected: case TorConnectionStatus.disconnected:
torImage = Image.asset( torImage = Image.asset(
'assets/images/tor_onion.png', 'assets/images/tor_onion.svg',
color: Theme.of(context).extension<SyncIndicatorTheme>()!.textColor, color: Theme.of(context).extension<SyncIndicatorTheme>()!.textColor,
); );
break; break;