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