Skip to content

Commit

Permalink
Merge pull request #11 from perez987/main
Browse files Browse the repository at this point in the history
Updated 3 files giving errors not finding items in AlinFoundation
  • Loading branch information
alienator88 authored Dec 9, 2024
2 parents 0aa3171 + 61a1641 commit fb22e1b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Sentinel/About Window/AboutCommand.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ struct AboutCommand: Commands {
}

Button {
updater.checkForUpdatesForce(showSheet: true)
//updater.checkForUpdatesForce(showSheet: true)
updater.checkForUpdates(sheet: true, force: true)
} label: {
Text("Check for Updates")
}
Expand Down
3 changes: 2 additions & 1 deletion Sentinel/SentinelApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ struct SentinelApp: App {
.environmentObject(appState)
.environmentObject(updater)
}
.sheet(isPresented: $updater.showSheet, content: {
//.sheet(isPresented: $updater.showSheet, content: {
.sheet(isPresented: $updater.sheet, content: {
/// This will show the update sheet based on the frequency check function only
updater.getUpdateView()
.environmentObject(themeManager)
Expand Down
3 changes: 2 additions & 1 deletion Sentinel/Updater/UpdateSettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ struct UpdateSettingsTab: View {
HStack(alignment: .center, spacing: 20) {

Button(""){
updater.checkForUpdatesForce(showSheet: false)
//updater.checkForUpdatesForce(showSheet: false)
updater.checkForUpdates(sheet: true, force: true)
}
.buttonStyle(SimpleButtonStyle(icon: "list.bullet.rectangle.portrait", label: "Refresh", help: "Refresh updater", color: .primary))

Expand Down

0 comments on commit fb22e1b

Please sign in to comment.