Skip to content

Commit 78d8a64

Browse files
authored
Add recovery in main menu (#9)
* Add recovery in main menu * bump version
1 parent a7d4ba0 commit 78d8a64

File tree

11 files changed

+8
-1
lines changed

11 files changed

+8
-1
lines changed

app/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ endif
7979
APPNAME = "Avail Recovery"
8080
# This is the polkadot derivation path, as we want to enable users to move funds from polkadot-style derived addresses in avail chain
8181
APPPATH = "44'/354'"
82+
DEFINES += RECOVERY_APP
8283

8384
else ifeq ($(COIN),AVAIL_XL)
8485
# XL app configuration

app/Makefile.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ APPVERSION_M=1
33
# This is the `spec_version` field of `Runtime`
44
APPVERSION_N=35
55
# This is the patch version of this release
6-
APPVERSION_P=1
6+
APPVERSION_P=2

app/src/substrate/substrate_coin.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,15 @@ typedef enum {
6363
#define COIN_NAME "Avail"
6464
#define COIN_TICKER "AVAIL "
6565

66+
#ifdef RECOVERY_APP
67+
#define MENU_MAIN_APP_LINE1 "Avail Recovery"
68+
#define MENU_MAIN_APP_LINE2 "Ready"
69+
#define APPVERSION_LINE1 "Avail Recovery"
70+
#else
6671
#define MENU_MAIN_APP_LINE1 "Avail"
6772
#define MENU_MAIN_APP_LINE2 "Ready"
6873
#define APPVERSION_LINE1 "Avail"
74+
#endif
6975
#define APPVERSION_LINE2 "v" APPVERSION
7076

7177
#ifdef __cplusplus
152 Bytes
Loading
10 Bytes
Loading
10 Bytes
Loading
3 Bytes
Loading
3 Bytes
Loading
112 Bytes
Loading
3 Bytes
Loading

0 commit comments

Comments
 (0)