Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tabby/App/Core/TabbyApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ struct TabbyApp: App {
permissionGuidanceController: appDelegate.permissionGuidanceController,
suggestionSettings: appDelegate.suggestionSettings,
foundationModelAvailabilityService: appDelegate.foundationModelAvailabilityService,
suggestionCoordinator: appDelegate.suggestionCoordinator,
appUpdateManager: appDelegate.appUpdateManager,
onOpenSettings: {
appDelegate.settingsCoordinator.showSettings()
},
Expand Down
12 changes: 7 additions & 5 deletions tabby/UI/MenuBarView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ struct MenuBarView: View {
let permissionGuidanceController: PermissionGuidanceController
@ObservedObject var suggestionSettings: SuggestionSettingsModel
@ObservedObject var foundationModelAvailabilityService: FoundationModelAvailabilityService
@ObservedObject var suggestionCoordinator: SuggestionCoordinator
let appUpdateManager: AppUpdateManager
let onOpenSettings: () -> Void
let onReportFeedback: () -> Void

Expand Down Expand Up @@ -57,9 +57,9 @@ struct MenuBarView: View {

Spacer(minLength: 0)

Text("\(suggestionCoordinator.totalTabAcceptedWordCount) words accepted")
Button("Report Bug / Feedback", action: onReportFeedback)
.buttonStyle(.borderless)
.font(.subheadline)
.foregroundStyle(.secondary)
}
.padding(.bottom, 12)
}
Expand Down Expand Up @@ -202,8 +202,10 @@ struct MenuBarView: View {
Button("Settings", action: onOpenSettings)
.buttonStyle(.borderless)

Button("Report Bug / Feedback", action: onReportFeedback)
.buttonStyle(.borderless)
Button("Check for Updates") {
appUpdateManager.checkForUpdates()
}
.buttonStyle(.borderless)

Spacer(minLength: 0)

Expand Down
Loading