Skip to content

Commit f91862f

Browse files
committed
Add toggle to enable beta builds
1 parent 4374f51 commit f91862f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Core/Sources/HostApp/GeneralView.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,8 @@ struct GeneralSettingsView: View {
238238
var hideCircularWidget
239239
@AppStorage(\.showHideWidgetShortcutGlobally)
240240
var showHideWidgetShortcutGlobally
241+
@AppStorage(\.installBetaBuilds)
242+
var installBetaBuilds
241243
}
242244

243245
@StateObject var settings = Settings()
@@ -255,6 +257,10 @@ struct GeneralSettingsView: View {
255257
)) {
256258
Text("Automatically Check for Update")
257259
}
260+
261+
Toggle(isOn: $settings.installBetaBuilds) {
262+
Text("Install beta builds")
263+
}
258264

259265
Picker(selection: $settings.suggestionWidgetPositionMode) {
260266
ForEach(SuggestionWidgetPositionMode.allCases, id: \.rawValue) {

0 commit comments

Comments
 (0)