Skip to content

Commit

Permalink
Icon update
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyweiss committed Jan 31, 2023
1 parent c6f16c6 commit 156a415
Show file tree
Hide file tree
Showing 14 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ This project interpolates work from [Samy Kamkar's original MagSpoof project](ht

Many thanks to everyone who has helped in addition to those above, most notably:
- [arha](https://github.com/arha) for bitmapping work and skunkworks testing (now a collaborator!)
- [Z4urce](https://github.com/Z4urce) for the provisional app icon
- [antirez](https://github.com/antirez) for bitmapping suggestions and general C wisdom
- [skotopes](https://github.com/skotopes) for RFID consultation
- [NVX](https://github.com/nvx) + dlz for NFC consultation
Expand Down
Binary file added assets/icon_brainstorming/mag_0_10px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added assets/icon_brainstorming/mag_2_10px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon_brainstorming/mag_3_10px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon_brainstorming/mag_4_10px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon_brainstorming/mag_5_10px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon_brainstorming/mag_6_10px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon_brainstorming/mag_7_10px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file modified icons/mag_10px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion mag_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ bool mag_file_select(MagDevice* mag_dev) {
mag_app_folder = furi_string_alloc_set(MAG_APP_FOLDER);

DialogsFileBrowserOptions browser_options;
dialog_file_browser_set_basic_options(&browser_options, MAG_APP_EXTENSION, &I_mag_file_10px);
dialog_file_browser_set_basic_options(&browser_options, MAG_APP_EXTENSION, &I_mag_10px);
browser_options.base_path = MAG_APP_FOLDER;

bool res = dialog_file_browser_show(
Expand Down
2 changes: 1 addition & 1 deletion scenes/mag_scene_emulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ void mag_scene_emulate_on_enter(void* context) {

// TODO: Display other relevant config settings (namely RFID vs GPIO)?

widget_add_icon_element(widget, 2, 1, &I_mag_file_10px);
widget_add_icon_element(widget, 2, 1, &I_mag_10px);
widget_add_string_element(
widget, 13, 2, AlignLeft, AlignTop, FontPrimary, furi_string_get_cstr(tmp_str));
furi_string_reset(tmp_str);
Expand Down
2 changes: 1 addition & 1 deletion scenes/mag_scene_saved_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ void mag_scene_saved_info_on_enter(void* context) {
// Use strlcpy instead perhaps, to truncate to screen width, then add ellipses if needed?
furi_string_printf(tmp_str, "%s\r\n", mag->mag_dev->dev_name);

widget_add_icon_element(widget, 2, 1, &I_mag_file_10px);
widget_add_icon_element(widget, 2, 1, &I_mag_10px);
widget_add_string_element(
widget, 13, 2, AlignLeft, AlignTop, FontPrimary, furi_string_get_cstr(tmp_str));
furi_string_reset(tmp_str);
Expand Down

0 comments on commit 156a415

Please sign in to comment.