mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-01-05 03:46:35 +03:00
Merge branch 'dev' into blegatt_refactor_merge
This commit is contained in:
commit
4d3a3070e4
11
CHANGELOG.md
11
CHANGELOG.md
@ -1,18 +1,27 @@
|
||||
## New changes
|
||||
* **Apple BLE Spam app** (by @Willy-JL | Plus research from ECTO-1A, xMasterX and techryptic) -> (app can be found in builds ` `, `e`, `n`, `r`)
|
||||
* Plugins -> Note for new users: **PicoPass emulation is available** in (Apps -> NFC -> PicoPass) + Latest PicoPass emulation fixes (by nvx) -> (app can be found in builds ` `, `e`, `n`, `r`)
|
||||
* SubGHz: **FAAC SLH - Programming mode** (by @xMasterX & @Eng1n33r (full research and PoC by @Skorpionm)| PR #585) -> [How to use](https://github.com/DarkFlippers/unleashed-firmware/blob/dev/documentation/SubGHzRemoteProg.md)
|
||||
* SubGHz: FAAC SLH -> Add manually new options
|
||||
* SubGHz: **Ignore Princeton** option
|
||||
* SubGHz: **Save all settings, option to reset config to default** (by @derskythe | PR #590)
|
||||
* SubGHz: Fix 0xFFFF counter value being skipped
|
||||
* SubGHz: Fix path reset on save name scene exit
|
||||
* SubGHz: Various fixes
|
||||
* SubGHz Remote: New design (by @Svaarich) - Implemented by @gid9798
|
||||
* SubGHz Remote: Fix Sub-GHz Remote folder name (by @OperKH | PR #583)
|
||||
* SubGHz Remote: submodule (by @gid9798 | PR #592)
|
||||
* Infrared: Updated universal assets (by @amec0e | PR #594)
|
||||
* Infrared: Remake custom universal remotes to use new design (New icons by @Svaarich)
|
||||
* UI: Keyboard ok to toggle select all in cursor mode (by @Willy-JL)
|
||||
* CI/CD: CodeQL for internal usage
|
||||
* CI/CD: Fixed regular builds having `c` in version name in the device info while not being actual `c` build
|
||||
* Docs: New FAAC SLH instructions
|
||||
* Docs: Readme & Changelog fixes (by @gid9798 | PR #586)
|
||||
* Docs: Readme & Changelog fixes (by @gid9798 | PR #586 #600)
|
||||
* OFW: Sub-GHz: fix incorrect key parsing crash
|
||||
* OFW: fbt: added FW_CFG_name with build configuration
|
||||
* OFW: SD-Card: proper HAL -> **Breaking API change, API 37.x -> API 38.x** - **Update your apps!**
|
||||
* OFW: Various Fixes and Improvements -> **Breaking API change, API 36.x -> API 37.x** - **Update your apps!**
|
||||
* OFW: iButton: Return to the file selection if file is corrupted
|
||||
* OFW: Account for the "-" in line carry-over
|
||||
* OFW: github: workflow improvements
|
||||
|
@ -11,6 +11,7 @@ enum SubGhzSettingIndex {
|
||||
SubGhzSettingIndexIgnoreStarline,
|
||||
SubGhzSettingIndexIgnoreCars,
|
||||
SubGhzSettingIndexIgnoreMagellan,
|
||||
SubGhzSettingIndexIgnorePrinceton,
|
||||
SubGhzSettingIndexSound,
|
||||
SubGhzSettingIndexResetToDefault,
|
||||
SubGhzSettingIndexLock,
|
||||
|
@ -79,24 +79,37 @@ static void variable_item_list_draw_callback(Canvas* canvas, void* _model) {
|
||||
canvas_set_color(canvas, ColorBlack);
|
||||
}
|
||||
|
||||
uint8_t temp_x_default = 73;
|
||||
uint8_t temp_w_default = 66;
|
||||
if(item->current_value_index == 0 && furi_string_empty(item->current_value_text)) {
|
||||
// Only left text, no right text
|
||||
canvas_draw_str(canvas, 6, item_text_y, item->label);
|
||||
} else {
|
||||
if(furi_string_size(item->current_value_text) < (size_t)4) {
|
||||
temp_x_default = 80;
|
||||
temp_w_default = 71;
|
||||
}
|
||||
elements_scrollable_text_line_str(
|
||||
canvas, 6, item_text_y, 66, item->label, scroll_counter, false, false);
|
||||
canvas,
|
||||
6,
|
||||
item_text_y,
|
||||
temp_w_default,
|
||||
item->label,
|
||||
scroll_counter,
|
||||
false,
|
||||
false);
|
||||
}
|
||||
|
||||
if(item->locked) {
|
||||
canvas_draw_icon(canvas, 110, item_text_y - 8, &I_Lock_7x8);
|
||||
} else {
|
||||
if(item->current_value_index > 0) {
|
||||
canvas_draw_str(canvas, 73, item_text_y, "<");
|
||||
canvas_draw_str(canvas, temp_x_default, item_text_y, "<");
|
||||
}
|
||||
|
||||
elements_scrollable_text_line_str(
|
||||
canvas,
|
||||
(115 + 73) / 2 + 1,
|
||||
(115 + temp_x_default) / 2 + 1,
|
||||
item_text_y,
|
||||
37,
|
||||
furi_string_get_cstr(item->current_value_text),
|
||||
|
Loading…
Reference in New Issue
Block a user