mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 00:08:36 -07:00
This can just be made global at this point lol
This commit is contained in:
@@ -15,7 +15,7 @@ void desktop_scene_fault_on_enter(void* context) {
|
||||
|
||||
Popup* popup = desktop->hw_mismatch_popup;
|
||||
popup_set_context(popup, desktop);
|
||||
if(XTREME_SETTINGS()->is_nsfw) {
|
||||
if(xtreme_settings.is_nsfw) {
|
||||
popup_set_header(
|
||||
popup,
|
||||
"Slut passed out\n but is now back",
|
||||
|
||||
@@ -59,7 +59,7 @@ static void desktop_scene_pin_input_done_callback(const PinCode* pin_code, void*
|
||||
view_dispatcher_send_custom_event(desktop->view_dispatcher, DesktopPinInputEventUnlocked);
|
||||
} else {
|
||||
uint32_t pin_fails = furi_hal_rtc_get_pin_fails() + 1;
|
||||
if(pin_fails >= 10 && XTREME_SETTINGS()->bad_pins_format) {
|
||||
if(pin_fails >= 10 && xtreme_settings.bad_pins_format) {
|
||||
furi_hal_rtc_set_pin_fails(0);
|
||||
furi_hal_rtc_set_flag(FuriHalRtcFlagFactoryReset);
|
||||
storage_sd_format(furi_record_open(RECORD_STORAGE));
|
||||
|
||||
Reference in New Issue
Block a user