Skip to content

Commit 108189e

Browse files
committed
chore: remove unused code in theme
[no changelog]
1 parent ca60997 commit 108189e

2 files changed

Lines changed: 1 addition & 9 deletions

File tree

  • core/embed/rust/src/ui

core/embed/rust/src/ui/layout_bolt/theme/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -698,9 +698,5 @@ pub const fn borders_horizontal_scroll() -> Insets {
698698
Insets::new(6, 6, 0, 6)
699699
}
700700

701-
pub const fn borders_notification() -> Insets {
702-
Insets::new(48, 6, 6, 6)
703-
}
704-
705701
pub const RESULT_ERROR: ResultStyle =
706702
ResultStyle::new(FG, FATAL_ERROR_COLOR, FATAL_ERROR_HIGHLIGHT_COLOR);

core/embed/rust/src/ui/layout_delizia/theme/mod.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use crate::{
1313
FixedHeightBar,
1414
},
1515
display::Color,
16-
geometry::{Insets, Offset},
16+
geometry::Offset,
1717
util::include_icon,
1818
},
1919
};
@@ -826,9 +826,5 @@ pub const fn button_bar<T>(inner: T) -> FixedHeightBar<T> {
826826
FixedHeightBar::bottom(inner, BUTTON_HEIGHT)
827827
}
828828

829-
pub const fn borders_notification() -> Insets {
830-
Insets::new(42, 0, 0, 0)
831-
}
832-
833829
pub const RESULT_ERROR: ResultStyle =
834830
ResultStyle::new(FG, FATAL_ERROR_COLOR, FATAL_ERROR_HIGHLIGHT_COLOR);

0 commit comments

Comments
 (0)