Open settings modal on launch if notary profile not filled in

This commit is contained in:
Skylar Ittner 2021-07-18 20:39:33 -06:00
parent 02a4f1d3fe
commit f6d9458900

View File

@ -265,4 +265,9 @@ $(document).ready(function () {
setButtonSize(getStorage("button_size"));
setAppTheme(getStorage("color_theme"));
$("body").addClass("load");
// Open settings automatically if setup is required
if (!inStorage("notary_name") || !inStorage("notary_state")) {
openSettingsModal();
}
});