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:
malik1004x
2026-01-07 23:14:42 +01:00
committed by GitHub
parent f2508d1eb4
commit 78913fc3f0
2 changed files with 13 additions and 0 deletions
@@ -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,