Settings: Update list of keys files for forget

This commit is contained in:
Willy-JL
2024-08-21 04:08:39 +02:00
parent cf90e7fa90
commit 915b1c790d
2 changed files with 7 additions and 2 deletions

View File

@@ -41,7 +41,9 @@
- Desktop: Refactor Keybinds, no more 63 character limit, only load when activated to save RAM (by @Willy-JL) - Desktop: Refactor Keybinds, no more 63 character limit, only load when activated to save RAM (by @Willy-JL)
- MNTM Settings: SubGHz frequency add screen uses new NumberInput view (by @Willy-JL) - MNTM Settings: SubGHz frequency add screen uses new NumberInput view (by @Willy-JL)
- GUI: Small tweaks to NumberInput to match Text and Byte, and for better usability (by @Willy-JL) - GUI: Small tweaks to NumberInput to match Text and Byte, and for better usability (by @Willy-JL)
- Settings: Statusbar Clock and Left Handed options show in normal Settings app like OFW (by @Willy-JL) - Settings:
- Statusbar Clock and Left Handed options show in normal Settings app like OFW (by @Willy-JL)
- Update list of keys files for forget all devices (by @Willy-JL)
- Services: - Services:
- Big cleanup of all services and settings handling, refactor lots old code (by @Willy-JL) - Big cleanup of all services and settings handling, refactor lots old code (by @Willy-JL)
- Update all settings paths to use equivalents like OFW or UL for better compatibility (by @Willy-JL) - Update all settings paths to use equivalents like OFW or UL for better compatibility (by @Willy-JL)

View File

@@ -37,7 +37,10 @@ bool bt_settings_scene_forget_dev_confirm_on_event(void* context, SceneManagerEv
const char* keys_paths[] = { const char* keys_paths[] = {
BAD_KB_KEYS_PATH, BAD_KB_KEYS_PATH,
EXT_PATH("apps_data/hid_ble/.bt_hid.keys"), EXT_PATH("apps_data/hid_ble/.bt_hid.keys"),
EXT_PATH("apps_data/totp/.bt_hid.keys"), EXT_PATH("apps_data/air_mouse/.bt_hid.keys"),
EXT_PATH("apps_data/vgm_air_mouse/.bt_hid.keys"),
EXT_PATH("apps_data/pc_monitor/.bt_serial.keys"),
EXT_PATH("apps_data/totp/.bt_hid_ 0.keys"),
}; };
Storage* storage = furi_record_open(RECORD_STORAGE); Storage* storage = furi_record_open(RECORD_STORAGE);
for(size_t i = 0; i < COUNT_OF(keys_paths); i++) { for(size_t i = 0; i < COUNT_OF(keys_paths); i++) {