Moved to the game data section

This commit is contained in:
Summet-V
2020-07-29 21:05:58 +03:00
parent 8c310e38ff
commit c34bf78ab6
4 changed files with 12 additions and 11 deletions

View File

@@ -164,13 +164,6 @@ public class LoadDialog extends BaseDialog{
}
});
}).fillX().margin(10f);
buttons.button("$save.clear", Icon.trash, () -> {
ui.showConfirm("$confirm", "$save.clear.confirm", () -> {
control.saves.deleteAll();
setup();
});
}).fillX().margin(10f);
}
public void runLoadSave(SaveSlot slot){

View File

@@ -108,6 +108,14 @@ public class SettingsMenuDialog extends SettingsDialog{
t.row();
t.button("$settings.clearsaves", Icon.trash, style, () -> {
ui.showConfirm("$confirm", "$settings.clearsaves.confirm", () -> {
control.saves.deleteAll();
});
});
t.row();
t.button("$data.export", Icon.upload, style, () -> {
if(ios){
Fi file = Core.files.local("mindustry-data-export.zip");