Skip to content

Commit

Permalink
Add contact information in info
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinkyaraj-23 committed Sep 25, 2024
1 parent 77583f7 commit 07460fb
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
8 changes: 4 additions & 4 deletions app/src/ui_home_nbgl.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ void tz_ui_home_redisplay(uint8_t page);
// -----------------------------------------------------------
// --------------------- SETTINGS MENU -----------------------
// -----------------------------------------------------------
#define SETTING_INFO_NB 2
#define SETTING_INFO_NB 3
#define SETTINGS_SWITCHES_NB 1
#define SETTINGS_RADIO_NB 3
static const char *const infoTypes[] = {"Version", "Developer"};
static const char *const infoContents[]
= {APPVERSION, "Trilitech Kanvas Limited et al."};
static const char *const infoTypes[] = {"Version", "Developer", "Contact"};
static const char *const infoContents[] = {
APPVERSION, "Trilitech Kanvas Limited et al.", "[email protected]"};

enum {
EXPERT_MODE_TOKEN = FIRST_USER_TOKEN,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/integration/touch/snapshots/stax/info.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion tests/integration/touch/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,12 @@ def assert_home(self):
self.assert_screen("home", True)

def assert_info(self):
self.assert_screen("info", True)
if(Firmware.STAX == self.firmware):
self.assert_screen("info_stax", True)
else:
self.assert_screen("info_flex_1", True)
self.review.next()
self.assert_screen("info_flex_2", True)

def assert_expert_mode(self, expert_mode=False):
suffix = ""
Expand Down

0 comments on commit 07460fb

Please sign in to comment.