Skip to content

Commit

Permalink
rebase and add select rate to send modal
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeBoy committed Dec 26, 2023
1 parent 131e415 commit 2d4fd50
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions ui/page/send/layout.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,6 @@ func (pg *Page) advanceOptionsLayout(gtx C) D {
})
}

if pg.modalLayout != nil {
// coin selection not allowed on the send modal
return pg.contentWrapper(gtx, "", true, pg.feeRateSelector.Layout)
}

return layout.Flex{Axis: layout.Vertical}.Layout(gtx,
layout.Rigid(func(gtx C) D {
return pg.contentWrapper(gtx, "", false, pg.feeRateSelector.Layout)
Expand Down
2 changes: 1 addition & 1 deletion ui/page/send/manual_coin_selection.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func NewManualCoinSelectionPage(l *load.Load, sendPage *Page) *ManualCoinSelecti
}

if sendPage.modalLayout != nil {
pg.modalLayout = l.Theme.ModalFloatTitle(values.String(values.StrCoinSelection))
pg.modalLayout = l.Theme.ModalFloatTitle(values.String(values.StrCoinSelection), pg.IsMobileView())
pg.GenericPageModal = pg.modalLayout.GenericPageModal
} else {
pg.GenericPageModal = app.NewGenericPageModal(ManualCoinSelectionPageID)
Expand Down

0 comments on commit 2d4fd50

Please sign in to comment.