From a3df489beb63789d0cbedb02885f8c369171cc26 Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Sun, 19 Feb 2023 17:59:15 +0100 Subject: [PATCH] Updated "purge logs?" dialog --- internal/app/app.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/app/app.go b/internal/app/app.go index 4101c86..9f8618e 100644 --- a/internal/app/app.go +++ b/internal/app/app.go @@ -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" {