mandatory hosting/joining info

This commit is contained in:
Anuken
2019-08-09 14:01:25 -04:00
parent c7724e9122
commit 59e53eb672
3 changed files with 8 additions and 2 deletions

View File

@@ -64,5 +64,9 @@ public class HostDialog extends FloatingDialog{
}).width(w).height(70f);
cont.addButton("?", () -> ui.showInfo("$host.info")).size(65f, 70f).padLeft(6f);
shown(() -> {
Core.app.post(() -> Core.settings.getBoolOnce("hostinfo", () -> ui.showInfo("$host.info")));
});
}
}

View File

@@ -82,6 +82,8 @@ public class JoinDialog extends FloatingDialog{
setup();
refreshLocal();
refreshRemote();
Core.app.post(() -> Core.settings.getBoolOnce("joininfo", () -> ui.showInfo("$join.info")));
});
onResize(this::setup);