Skip to content

Commit

Permalink
[update] New icons
Browse files Browse the repository at this point in the history
  • Loading branch information
lpascal-ledger committed Oct 12, 2023
1 parent 34c0f64 commit 8ca9410
Show file tree
Hide file tree
Showing 21 changed files with 3 additions and 7 deletions.
Binary file modified glyphs/stax_icon_password_manager_64px.gif
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 icons/stax_icon_password_manager_32px.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion src/keyboards/bolos_ux_nanox_keyboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@ const bagl_element_t* screen_common_keyboard_before_element_display_callback(
unsigned int screen_common_keyboard_button(unsigned int button_mask,
unsigned int button_mask_counter
__attribute__((unused))) {

switch (button_mask) {
case BUTTON_EVT_RELEASED | BUTTON_LEFT | BUTTON_RIGHT: // validate current digit

Expand Down
Binary file modified tests/functional/snapshots/stax/all_passwords_deleted_screen.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 modified tests/functional/snapshots/stax/confirm_all_passwords_deletion.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 modified tests/functional/snapshots/stax/confirm_password_deletion.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 modified tests/functional/snapshots/stax/home_screen.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 modified tests/functional/snapshots/stax/keyboard_screen_empty.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 modified tests/functional/snapshots/stax/keyboard_screen_n_text.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 modified tests/functional/snapshots/stax/keyboard_screen_ne_text.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 modified tests/functional/snapshots/stax/keyboard_screen_new_text.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 modified tests/functional/snapshots/stax/list_screen_empty.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 modified tests/functional/snapshots/stax/list_screen_populated.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 modified tests/functional/snapshots/stax/list_screen_populated_and_new.png
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/functional/snapshots/stax/menu_screen.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 modified tests/functional/snapshots/stax/password_created_screen.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 modified tests/functional/snapshots/stax/password_deleted_screen.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 tests/functional/stax/navigator.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(self, backend, firmware):
CustomNavInsID.WAIT: sleep,
CustomNavInsID.TOUCH: backend.finger_touch,
CustomNavInsID.HOME_TO_SETTINGS: self.screen.home.settings,
CustomNavInsID.HOME_TO_QUIT: self.screen.quit,
CustomNavInsID.HOME_TO_QUIT: self.screen.home.quit,
CustomNavInsID.HOME_TO_MENU: self.screen.home.action,
CustomNavInsID.SETTINGS_PREVIOUS: self.screen.settings.previous,
CustomNavInsID.SETTINGS_TO_HOME: self.screen.settings.multi_page_exit,
Expand Down
3 changes: 0 additions & 3 deletions tests/functional/stax/screen.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,3 @@ class CustomStaxScreen(metaclass=MetaScreen):
layout_keyboard = FullKeyboardLetters
layout_keyboard_confirm = TappableCenter
layout_keyboard_cancel = LeftHeader

def quit(self):
self.home.quit()
4 changes: 2 additions & 2 deletions tests/functional/stax/test_ui.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import pytest
from ragger.navigator import NavIns, NavInsID
from requests.exceptions import ConnectionError
from typing import Iterable, Union

from .navigator import CustomNavInsID
Expand All @@ -12,8 +13,7 @@ def format_instructions(instructions: Iterable[Union[NavIns, CustomNavInsID]]) -

@pytest.mark.use_on_firmware("stax")
def test_immediate_quit(navigator):
instruction = format_instructions([CustomNavInsID.HOME_TO_QUIT])
navigator.navigate(instruction,
navigator.navigate(format_instructions([CustomNavInsID.HOME_TO_QUIT]),
screen_change_before_first_instruction=False,
screen_change_after_last_instruction=False)

Expand Down

0 comments on commit 8ca9410

Please sign in to comment.