|
@@ -53,6 +53,11 @@ static bool totp_activate_initial_scene(PluginState* const plugin_state) {
|
|
|
DialogMessageButton dialog_result =
|
|
DialogMessageButton dialog_result =
|
|
|
dialog_message_show(plugin_state->dialogs_app, message);
|
|
dialog_message_show(plugin_state->dialogs_app, message);
|
|
|
dialog_message_free(message);
|
|
dialog_message_free(message);
|
|
|
|
|
+ if(!totp_crypto_check_key_slot(plugin_state->crypto_key_slot)) {
|
|
|
|
|
+ totp_dialogs_config_loading_error(plugin_state);
|
|
|
|
|
+ return false;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
if(dialog_result == DialogMessageButtonRight) {
|
|
if(dialog_result == DialogMessageButtonRight) {
|
|
|
totp_scene_director_activate_scene(plugin_state, TotpSceneAuthentication);
|
|
totp_scene_director_activate_scene(plugin_state, TotpSceneAuthentication);
|
|
|
} else {
|
|
} else {
|