[FL-1781] Desktop: change first start logic, show only if factory provisioned. (#727)

* Desktop: change first start logic, show only if factory provisioned.
* Desktop: code cleanup, correct first start scene position in scene stack.
* Desktop: Remove unused include
This commit is contained in:
あく
2021-09-28 17:42:52 +03:00
committed by GitHub
parent 61c8f3325a
commit ec18c1a92a
10 changed files with 45 additions and 37 deletions

View File

@@ -7,7 +7,7 @@ void subghz_scene_show_only_rx_popup_callback(void* context) {
view_dispatcher_send_custom_event(subghz->view_dispatcher, SCENE_NO_MAN_CUSTOM_EVENT);
}
const void subghz_scene_show_only_rx_on_enter(void* context) {
void subghz_scene_show_only_rx_on_enter(void* context) {
SubGhz* subghz = context;
// Setup view
@@ -38,7 +38,7 @@ const bool subghz_scene_show_only_rx_on_event(void* context, SceneManagerEvent e
return false;
}
const void subghz_scene_show_only_rx_on_exit(void* context) {
void subghz_scene_show_only_rx_on_exit(void* context) {
SubGhz* subghz = context;
// Clear view