mandatory hosting/joining info
This commit is contained in:
@@ -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")));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user