1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-01-18 13:07:58 +00:00

Updated "purge logs?" dialog

This commit is contained in:
Romein van Buren 2023-02-19 17:59:15 +01:00
parent 78540622ee
commit a3df489beb
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49

View File

@ -88,11 +88,12 @@ func (a *App) Environment() EnvironmentInfo {
func (a *App) PurgeLogDirectory() {
sure, _ := wailsRuntime.MessageDialog(a.ctx, wailsRuntime.MessageDialogOptions{
Title: "Are you sure you want to remove all logfiles?",
Title: "Confirm",
Message: "Are you sure you want to remove all logfiles?",
Buttons: []string{"Yes", "No"},
DefaultButton: "Yes",
CancelButton: "No",
Type: wailsRuntime.QuestionDialog,
Type: wailsRuntime.WarningDialog,
})
if sure != "Yes" {