Skip to content

Commit

Permalink
fix rebase issues
Browse files Browse the repository at this point in the history
Signed-off-by: Philemon Ukane <[email protected]>
  • Loading branch information
ukane-philemon committed Jan 29, 2024
1 parent 8c327a0 commit 6eb3d2f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
10 changes: 7 additions & 3 deletions ui/modal/info_modal.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,13 @@ func (in *InfoModal) Handle() {
isChecked = in.checkbox.CheckBox.Value
}

if in.positiveButtonClicked(isChecked, in) {
in.Dismiss()
}
in.SetLoading(true)
go func() {
if in.positiveButtonClicked(isChecked, in) {
in.Dismiss()
}
in.SetLoading(false)
}()
}

for in.btnNegative.Clicked() {
Expand Down
5 changes: 1 addition & 4 deletions ui/page/root/home_page.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,7 @@ func (hp *HomePage) OnNavigatedTo() {
hp.initDEX()

go hp.CalculateAssetsUSDBalance()
if !hp.AssetsManager.DEXCInitialized() {
go hp.AssetsManager.InitializeDEX(hp.dexCtx)
}


if hp.CurrentPage() == nil {
hp.Display(NewOverviewPage(hp.Load, hp.showNavigationFunc))
}
Expand Down
4 changes: 2 additions & 2 deletions ui/values/localizable/en.go
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ const EN = `
"noActiveTickets" = "No active tickets"
"noAgendaYet" = "No agendas yet"
"noConnectedPeer" = "no connected peers."
"noExchangeOnTestnet" = "Exchange functionality is not available on the test network""
"noExchangeOnTestnet" = "Exchange functionality is not available on the test network"
"noInternet" = "no Internet Connectivity."
"nonAccSelector" = "This widget isn't set to show accounts"
"none" = "None"
Expand Down Expand Up @@ -908,7 +908,7 @@ const EN = `
"iWillGet" = "I'll get"
"iWillGive" = "I'll give"
"noSupportedMarketMsg" = "Oops, there are no supported market at the moment. Please choose another server."
"postBondMsg" = ""You have zero effective tiers. Please post bonds to trade."
"postBondMsg" = "You have zero effective tiers. Please post bonds to trade."
"bondPostingInProgressMsg" = "You have zero effective tiers but bond posting is in progress. Please ensure your %s(%s) wallet account %s is funded with at least %s and is syncing."
"maxDEX" = "Max %s: %s"
"availableBalance" = "Available Balance: %s"
Expand Down

0 comments on commit 6eb3d2f

Please sign in to comment.