Skip to content

Commit

Permalink
removing cdefines, adjusting display for eth addrs
Browse files Browse the repository at this point in the history
  • Loading branch information
xtruan committed Mar 15, 2023
1 parent 03f9ae6 commit 73d2d96
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 1 addition & 2 deletions application.fam
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ App(
name="FlipBIP Crypto Tool",
apptype=FlipperAppType.EXTERNAL,
entry_point="flipbip_app",
cdefines=["APP_FLIPBIP"],
requires=[
"gui",
],
Expand All @@ -16,7 +15,7 @@ App(
name="crypto",
),
],
fap_category="Misc",
fap_category="Tools",
fap_description="Crypto toolkit for Flipper",
fap_author="Struan Clark (xtruan)",
fap_weburl="https://github.com/xtruan/FlipBIP",
Expand Down
6 changes: 5 additions & 1 deletion views/flipbip_scene_1.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,11 @@ void flipbip_scene_1_draw(Canvas* canvas, FlipBipScene1Model* model) {
} else if(model->page == PAGE_XPUB_EXTD) {
flipbip_scene_1_draw_generic(model->xpub_extended, 20);
} else if(model->page >= PAGE_ADDR_BEGIN && model->page <= PAGE_ADDR_END) {
flipbip_scene_1_draw_generic(model->recv_addresses[model->page - PAGE_ADDR_BEGIN], 12);
uint32_t line_len = 12;
if(model->coin == FlipBipCoinETH60) {
line_len = 14;
}
flipbip_scene_1_draw_generic(model->recv_addresses[model->page - PAGE_ADDR_BEGIN], line_len);
}

if(model->page == PAGE_LOADING) {
Expand Down

0 comments on commit 73d2d96

Please sign in to comment.