Remove disable power mode option and update default icon to sparkles
This commit is contained in:
parent
f7987cd4bd
commit
1a59b0e5f7
@ -17,25 +17,6 @@ struct PowerModePopover: View {
|
||||
|
||||
ScrollView {
|
||||
VStack(alignment: .leading, spacing: 4) {
|
||||
if powerModeManager.activeConfiguration != nil {
|
||||
Button(action: {
|
||||
powerModeManager.setActiveConfiguration(nil)
|
||||
selectedConfig = nil
|
||||
}) {
|
||||
HStack {
|
||||
Text("Disable Power Mode")
|
||||
.foregroundColor(.red.opacity(0.9))
|
||||
.font(.system(size: 13))
|
||||
Spacer()
|
||||
Image(systemName: "xmark.circle.fill")
|
||||
.foregroundColor(.red.opacity(0.9))
|
||||
}
|
||||
.padding(.vertical, 4)
|
||||
.padding(.horizontal, 8)
|
||||
}
|
||||
.buttonStyle(.plain)
|
||||
}
|
||||
|
||||
ForEach(powerModeManager.configurations) { config in
|
||||
PowerModeRow(
|
||||
config: config,
|
||||
|
||||
@ -150,7 +150,7 @@ struct RecorderPowerModeButton: View {
|
||||
var body: some View {
|
||||
RecorderToggleButton(
|
||||
isEnabled: !powerModeManager.enabledConfigurations.isEmpty,
|
||||
icon: powerModeManager.currentActiveConfiguration?.emoji ?? "⚙️",
|
||||
icon: powerModeManager.currentActiveConfiguration?.emoji ?? "✨",
|
||||
color: .orange,
|
||||
disabled: powerModeManager.enabledConfigurations.isEmpty
|
||||
) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user