Added function Live Activity Color change, Fixes

This commit is contained in:
Tihanyi Marcell
2023-08-29 02:06:18 +02:00
parent 625c43d786
commit 0245ddb99e
11 changed files with 123 additions and 7 deletions

View File

@@ -712,6 +712,25 @@ class _SettingsScreenState extends State<SettingsScreen>
),
),
const PremiumIconPackSelector(),
// If iOS, show the iOS specific settings
if (defaultTargetPlatform == TargetPlatform.iOS)
PanelButton(
onPressed: () {
SettingsHelper.liveActivityColor(context);
setState(() {});
},
title: Text("live_activity_color".i18n),
leading: const Icon(FeatherIcons.activity),
trailing: Container(
width: 12.0,
height: 12.0,
decoration: BoxDecoration(
color: settings.liveActivityColor,
shape: BoxShape.circle,
),
),
),
],
),
),