Skip to content

Commit

Permalink
fix: remove keychain icon
Browse files Browse the repository at this point in the history
  • Loading branch information
xtruan committed Aug 10, 2023
1 parent 75f3c96 commit 2e4023b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions application.fam
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ App(
stack_size=3 * 1024,
order=10,
fap_icon="flipbip_10px.png",
fap_icon_assets="icons",
fap_icon_assets_symbol="flipbip",
fap_private_libs=[
Lib(
name="crypto",
Expand Down
Binary file removed icons/Keychain_39x36.png
Binary file not shown.
8 changes: 4 additions & 4 deletions views/flipbip_scene_1.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//#include <dolphin/dolphin.h>
#include <storage/storage.h>
#include <string.h>
#include "flipbip_icons.h"
// #include "flipbip_icons.h"
#include "../helpers/flipbip_haptic.h"
#include "../helpers/flipbip_string.h"
#include "../helpers/flipbip_file.h"
Expand Down Expand Up @@ -42,7 +42,7 @@
#define TEXT_NEW_WALLET "New wallet"
#define TEXT_DEFAULT_COIN "Coin"
#define TEXT_RECEIVE_ADDRESS "receive address:"
#define TEXT_DEFAULT_DERIV "m/44'/X'/0'/0"
// #define TEXT_DEFAULT_DERIV "m/44'/X'/0'/0"
const char* TEXT_INFO = "-Scroll pages with up/down-"
"p1,2) BIP39 Mnemonic/Seed"
"p3) BIP32 Root Key "
Expand Down Expand Up @@ -100,7 +100,7 @@ static CONFIDENTIAL char* s_disp_text4 = NULL;
static CONFIDENTIAL char* s_disp_text5 = NULL;
static CONFIDENTIAL char* s_disp_text6 = NULL;
// Derivation path text
static const char* s_derivation_text = TEXT_DEFAULT_DERIV;
static const char* s_derivation_text = TEXT_DEFAULT_COIN; // TEXT_DEFAULT_DERIV;
// Warning text
static bool s_warn_insecure = false;
#define WARN_INSECURE_TEXT_1 "Recommendation:"
Expand Down Expand Up @@ -320,7 +320,7 @@ void flipbip_scene_1_draw(Canvas* canvas, FlipBipScene1Model* model) {
canvas_set_font(canvas, FontPrimary);
canvas_draw_str(canvas, 2, 10, TEXT_LOADING);
canvas_draw_str(canvas, 7, 30, s_derivation_text);
canvas_draw_icon(canvas, 86, 22, &I_Keychain_39x36);
// canvas_draw_icon(canvas, 86, 22, &I_Keychain_39x36);
if(s_warn_insecure) {
canvas_set_font(canvas, FontSecondary);
canvas_draw_str(canvas, 2, 50, WARN_INSECURE_TEXT_1);
Expand Down

0 comments on commit 2e4023b

Please sign in to comment.