Adds accentColor to toggle

This commit is contained in:
Stuart Breckenridge 2020-08-15 14:34:20 +08:00
parent e3a221befd
commit 3610f71ac2
No known key found for this signature in database
GPG Key ID: 79BD673276AE83CE
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ struct SettingsView: View {
}
}
Toggle("Confirm When Deleting", isOn: $settings.sidebarConfirmDelete)
.toggleStyle(SwitchToggleStyle(tint: .accentColor))
})
.alert(isPresented: $feedsSettingsModel.showError) {
Alert(