File tree Expand file tree Collapse file tree
embed/rust/src/ui/layout_caesar
src/trezor/ui/layouts/caesar Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ impl FirmwareUI for UICaesar {
132132 } ;
133133 let pages = FlowPages :: new ( get_page, 1 ) ;
134134
135- let obj = LayoutObj :: new ( Flow :: new ( pages) ) ?;
135+ let obj = LayoutObj :: new ( Flow :: new ( pages) . with_menu ( info_button ) ) ?;
136136 Ok ( obj)
137137 }
138138
Original file line number Diff line number Diff line change @@ -996,13 +996,23 @@ def confirm_value(
996996
997997 from trezor .ui .layouts .menu import Details , Menu , confirm_with_menu
998998
999- main = trezorui_api .confirm_with_info (
1000- title = title ,
1001- items = ((value , False ),),
1002- verb = verb or TR .buttons__confirm ,
1003- verb_info = INFO_ICON ,
1004- external_menu = True ,
1005- )
999+ if chunkify :
1000+ main = trezorui_api .confirm_address (
1001+ title = title ,
1002+ address = value ,
1003+ address_label = None ,
1004+ verb = verb or TR .buttons__confirm ,
1005+ info_button = True ,
1006+ chunkify = chunkify ,
1007+ )
1008+ else :
1009+ main = trezorui_api .confirm_with_info (
1010+ title = title ,
1011+ items = ((value , False ),),
1012+ verb = verb or TR .buttons__confirm ,
1013+ verb_info = INFO_ICON ,
1014+ external_menu = True ,
1015+ )
10061016
10071017 def item_factory (
10081018 info_title : str , info_value : str
You can’t perform that action at this time.
0 commit comments