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" {