Change stop color

This commit is contained in:
Anton Tananaev 2026-01-18 07:33:23 -08:00
parent fa92f06449
commit 4f93436fa6

View file

@ -93,7 +93,7 @@ class _MainScreenState extends State<MainScreen> {
contentPadding: EdgeInsets.zero,
title: Text(AppLocalizations.of(context)!.trackingLabel),
value: trackingEnabled,
activeTrackColor: isMoving == false ? Theme.of(context).colorScheme.error : null,
activeTrackColor: isMoving == false ? Theme.of(context).colorScheme.secondary : null,
onChanged: (bool value) async {
if (await PasswordService.authenticate(context) && mounted) {
if (value) {