mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-13 00:07:12 +00:00
fix archive, update changelog
This commit is contained in:
parent
693f78e501
commit
5a2719663f
4 changed files with 16 additions and 14 deletions
|
@ -1,5 +1,11 @@
|
||||||
### New changes
|
### New changes
|
||||||
* Plugins: RFID Fuzzer - ability to change time delay (between cards), useful for slow readers, you can adjust it on the go
|
* Add 312.2 MHz to subghz user config
|
||||||
|
* PR: Add CAME 12bit 303MHz to SubGHz Bruteforcer (by @derskythe | PR #87)
|
||||||
|
* Adapted all plugins and other code to new FuriString, fixed archive menu issues with new string type
|
||||||
|
* SubGHz: proper free of rainbow tables
|
||||||
|
* OFW: M*LIB: non-inlined strings, FuriString primitive
|
||||||
|
* OFW PR: Remove string_push_uint64 (OFW PR 1832 by Astrrra)
|
||||||
|
* OFW PR: updated icon names (OFW PR 1829 by nminaylov)
|
||||||
|
|
||||||
#### [🎲 Download extra apps pack](https://download-directory.github.io/?url=https://github.com/UberGuidoZ/Flipper/tree/main/Applications/Unleashed)
|
#### [🎲 Download extra apps pack](https://download-directory.github.io/?url=https://github.com/UberGuidoZ/Flipper/tree/main/Applications/Unleashed)
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <furi.h>
|
||||||
#include <m-array.h>
|
#include <m-array.h>
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
@ -22,7 +23,7 @@ static void ArchiveContextMenuItem_t_init_set(
|
||||||
static void ArchiveContextMenuItem_t_set(
|
static void ArchiveContextMenuItem_t_set(
|
||||||
ArchiveContextMenuItem_t* obj,
|
ArchiveContextMenuItem_t* obj,
|
||||||
const ArchiveContextMenuItem_t* src) {
|
const ArchiveContextMenuItem_t* src) {
|
||||||
obj->text = furi_string_alloc_set(src->text);
|
furi_string_set(obj->text, src->text);
|
||||||
obj->event = src->event;
|
obj->event = src->event;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,7 +44,7 @@ ARRAY_DEF(
|
||||||
// Using in applications/archive/views/archive_browser_view.c
|
// Using in applications/archive/views/archive_browser_view.c
|
||||||
static void
|
static void
|
||||||
archive_menu_add_item(ArchiveContextMenuItem_t* obj, FuriString* text, uint32_t event) {
|
archive_menu_add_item(ArchiveContextMenuItem_t* obj, FuriString* text, uint32_t event) {
|
||||||
obj->text = furi_string_alloc_move(text);
|
obj->text = furi_string_alloc_set(text);
|
||||||
obj->event = event;
|
obj->event = event;
|
||||||
}
|
}
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
|
@ -48,17 +48,11 @@ void archive_browser_set_callback(
|
||||||
static void render_item_menu(Canvas* canvas, ArchiveBrowserViewModel* model) {
|
static void render_item_menu(Canvas* canvas, ArchiveBrowserViewModel* model) {
|
||||||
if(menu_array_size(model->context_menu) == 0) {
|
if(menu_array_size(model->context_menu) == 0) {
|
||||||
// Context menu is empty, init array
|
// Context menu is empty, init array
|
||||||
FuriString* item_run;
|
FuriString* item_run = furi_string_alloc_set("Run In App");
|
||||||
FuriString* item_pin;
|
FuriString* item_pin = furi_string_alloc_set("Pin");
|
||||||
FuriString* item_info;
|
FuriString* item_info = furi_string_alloc_set("Info");
|
||||||
FuriString* item_rename;
|
FuriString* item_rename = furi_string_alloc_set("Rename");
|
||||||
FuriString* item_delete;
|
FuriString* item_delete = furi_string_alloc_set("Delete");
|
||||||
|
|
||||||
item_run = furi_string_alloc_set("Run In App");
|
|
||||||
item_pin = furi_string_alloc_set("Pin");
|
|
||||||
item_info = furi_string_alloc_set("Info");
|
|
||||||
item_rename = furi_string_alloc_set("Rename");
|
|
||||||
item_delete = furi_string_alloc_set("Delete");
|
|
||||||
|
|
||||||
// Need init context menu
|
// Need init context menu
|
||||||
ArchiveFile_t* selected =
|
ArchiveFile_t* selected =
|
||||||
|
|
|
@ -19,6 +19,7 @@ Frequency: 309000000
|
||||||
Frequency: 310000000
|
Frequency: 310000000
|
||||||
Frequency: 312000000
|
Frequency: 312000000
|
||||||
Frequency: 312100000
|
Frequency: 312100000
|
||||||
|
Frequency: 312200000
|
||||||
Frequency: 313000000
|
Frequency: 313000000
|
||||||
Frequency: 313850000
|
Frequency: 313850000
|
||||||
Frequency: 314000000
|
Frequency: 314000000
|
||||||
|
|
Loading…
Reference in a new issue