implement default power mode quick change
This commit is contained in:
parent
8422d07a05
commit
0ca1d78041
@ -182,18 +182,16 @@ struct ConfigurationView: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Default Power Mode Toggle
|
// Default Power Mode Toggle
|
||||||
if !powerModeManager.hasDefaultConfiguration() || isCurrentConfigDefault {
|
HStack {
|
||||||
HStack {
|
Toggle("Set as default power mode", isOn: $isDefault)
|
||||||
Toggle("Set as default power mode", isOn: $isDefault)
|
.font(.system(size: 14))
|
||||||
.font(.system(size: 14))
|
|
||||||
|
InfoTip(
|
||||||
InfoTip(
|
title: "Default Power Mode",
|
||||||
title: "Default Power Mode",
|
message: "Default power mode is used when no specific app or website matches are found"
|
||||||
message: "Default power mode is used when no specific app or website matches are found"
|
)
|
||||||
)
|
|
||||||
|
Spacer()
|
||||||
Spacer()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.padding(.horizontal, 20)
|
.padding(.horizontal, 20)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user