mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-23 06:38:35 +02:00
change sync status display mode on long-press (#2780)
* change sync status display mode on long-press * move status toggle function to viewmodel action
This commit is contained in:
@@ -33,6 +33,7 @@ class SyncIndicator extends StatelessWidget {
|
||||
borderRadius: BorderRadius.all(Radius.circular(15)),
|
||||
child: GestureDetector(
|
||||
onTap: onTap,
|
||||
onLongPress: dashboardViewModel.toggleSwitchStatusDisplayMode,
|
||||
child: Container(
|
||||
height: 30,
|
||||
width: syncIndicatorWidth,
|
||||
|
||||
Reference in New Issue
Block a user