Change stop color
This commit is contained in:
parent
fa92f06449
commit
4f93436fa6
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ class _MainScreenState extends State<MainScreen> {
|
||||||
contentPadding: EdgeInsets.zero,
|
contentPadding: EdgeInsets.zero,
|
||||||
title: Text(AppLocalizations.of(context)!.trackingLabel),
|
title: Text(AppLocalizations.of(context)!.trackingLabel),
|
||||||
value: trackingEnabled,
|
value: trackingEnabled,
|
||||||
activeTrackColor: isMoving == false ? Theme.of(context).colorScheme.error : null,
|
activeTrackColor: isMoving == false ? Theme.of(context).colorScheme.secondary : null,
|
||||||
onChanged: (bool value) async {
|
onChanged: (bool value) async {
|
||||||
if (await PasswordService.authenticate(context) && mounted) {
|
if (await PasswordService.authenticate(context) && mounted) {
|
||||||
if (value) {
|
if (value) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue