Add option to remove all games

This commit is contained in:
kramo
2023-03-30 16:22:58 +02:00
parent bf2a500d5e
commit 61ef02cc7a
5 changed files with 65 additions and 5 deletions

View File

@@ -42,7 +42,25 @@ template PreferencesWindow : Adw.PreferencesWindow {
}
}
}
Adw.PreferencesGroup danger_zone_group {
title: _("Danger Zone");
Adw.ActionRow {
title: _("Remove All Games");
Button remove_all_games_button {
label: _("Remove");
valign: center;
styles [
"destructive-action",
]
}
}
}
}
Adw.PreferencesPage import_page {
name: "import";
title: _("Import");