mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 20:38:10 +00:00
fix(core): fixed fading glitch when changing display orientation
[no changelog]
This commit is contained in:
parent
ef5c743c35
commit
82cd9ca34e
@ -412,7 +412,9 @@ def reload_settings_from_storage() -> None:
|
||||
storage_device.get_autolock_delay_ms(), lock_device_if_unlocked
|
||||
)
|
||||
wire.EXPERIMENTAL_ENABLED = storage_device.get_experimental_features()
|
||||
ui.display.orientation(storage_device.get_rotation())
|
||||
if ui.display.orientation() != storage_device.get_rotation():
|
||||
ui.backlight_fade(ui.style.BACKLIGHT_DIM)
|
||||
ui.display.orientation(storage_device.get_rotation())
|
||||
|
||||
|
||||
def boot() -> None:
|
||||
|
Loading…
Reference in New Issue
Block a user