mirror of
https://github.com/Apologieze/Benri.git
synced 2026-01-18 17:17:21 +01:00
Default tray on close
This commit is contained in:
@@ -25,7 +25,7 @@ func CreateConfig(app fyne.Preferences) {
|
||||
preference: app,
|
||||
SkipOpening: app.Bool(SkipOpeningKey),
|
||||
SkipEnding: app.Bool(SkipEndingKey),
|
||||
TrayIcon: app.Bool(TrayIconKey),
|
||||
TrayIcon: app.BoolWithFallback(TrayIconKey, true),
|
||||
DiscordPresence: app.BoolWithFallback(DiscordPresence, true),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ func initSettingDialog() {
|
||||
widget.NewLabelWithStyle("Show Discord Activity", fyne.TextAlignLeading, fyne.TextStyle{Bold: true}), checkDiscordPresence,
|
||||
)
|
||||
//form := container.New(layout.NewFormLayout(), rowSkipOpening)
|
||||
logoutButton := widget.NewButtonWithIcon("Log out AniList", theme.AccountIcon(), func() {
|
||||
logoutButton := widget.NewButtonWithIcon("Log out from AniList", theme.AccountIcon(), func() {
|
||||
deleteTokenFile()
|
||||
appW.Quit()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user