Working with settings

This commit is contained in:
Hariharan Mudaliar 2025-10-19 23:18:33 +05:30
commit 3533a26746
3 changed files with 5 additions and 13 deletions

View file

@ -322,6 +322,8 @@ struct GeneralSettings: View {
Defaults.Toggle("Show media app icon", key: .lockScreenShowAppIcon)
Defaults.Toggle("Show panel border", key: .lockScreenPanelShowsBorder)
Defaults.Toggle("Enable blur", key: .lockScreenPanelUsesBlur)
Defaults.Toggle("Show lock screen media panel", key: .enableLockScreenMediaWidget)
Defaults.Toggle("Show lock screen weather", key: .enableLockScreenWeatherWidget)
Button("Copy Latest Crash Report") {
copyLatestCrashReport()
@ -329,7 +331,7 @@ struct GeneralSettings: View {
} header: {
Text("Lock Screen")
} footer: {
Text("Shows a lock icon in the Dynamic Island when the screen is locked. The lock screen music panel can be toggled separately in Media settings.")
Text("Shows a lock icon in the Dynamic Island when the screen is locked. Use the toggles above to control the lock screen media panel and weather capsule.")
}
Section {
@ -782,12 +784,6 @@ struct Media: View {
customBadge(text: "Beta")
}
}
// Enable/disable the lock screen media widget
Defaults.Toggle(key: .enableLockScreenMediaWidget) {
HStack {
Text("Enable lock screen media widget")
}
}
} header: {
Text("Media controls")
}