mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 12:42:30 +04:00
Cosmetic menu changes
This commit is contained in:
@@ -145,7 +145,7 @@ static bool desktop_custom_event_callback(void* context, uint32_t event) {
|
||||
|
||||
} else if(event == DesktopGlobalAutoLock) {
|
||||
if(!desktop->app_running && !desktop->locked) {
|
||||
// Disable AutoLock if usb_inhibit_autolock option enabled and device have active USB connection.
|
||||
// Disable AutoLock if usb_inhibit_autolock option enabled and device have active USB session.
|
||||
if((desktop->settings.usb_inhibit_auto_lock) && (furi_hal_usb_is_locked())) {
|
||||
return (0);
|
||||
}
|
||||
|
||||
@@ -136,7 +136,7 @@ void desktop_settings_scene_start_on_enter(void* context) {
|
||||
// USB connection Inhibit autolock OFF|ON|with opened RPC session
|
||||
item = variable_item_list_add(
|
||||
variable_item_list,
|
||||
"Auto Lock disarm by active USB connection",
|
||||
"Auto Lock disarm by active USB session",
|
||||
USB_INHIBIT_AUTO_LOCK_DELAY_COUNT,
|
||||
desktop_settings_scene_start_usb_inhibit_auto_lock_delay_changed,
|
||||
app);
|
||||
|
||||
Reference in New Issue
Block a user