Merge pull request #274 from gdmka/feat/default-power-mode-fast-change

Implement default power mode quick change
This commit is contained in:
Prakash Joshi Pax 2025-09-05 09:28:09 +05:45 committed by GitHub
commit c2b515ec32
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -182,18 +182,16 @@ struct ConfigurationView: View {
}
// Default Power Mode Toggle
if !powerModeManager.hasDefaultConfiguration() || isCurrentConfigDefault {
HStack {
Toggle("Set as default power mode", isOn: $isDefault)
.font(.system(size: 14))
InfoTip(
title: "Default Power Mode",
message: "Default power mode is used when no specific app or website matches are found"
)
Spacer()
}
HStack {
Toggle("Set as default power mode", isOn: $isDefault)
.font(.system(size: 14))
InfoTip(
title: "Default Power Mode",
message: "Default power mode is used when no specific app or website matches are found"
)
Spacer()
}
}
.padding(.horizontal, 20)