Skip to content

Commit

Permalink
Improve the behaviour of the incompatible network reset info dialog.
Browse files Browse the repository at this point in the history
  • Loading branch information
kukabi committed Feb 3, 2021
1 parent c5c563a commit 4af6f50
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,11 @@ internal class HomeActivity : AppCompatActivity(), AllSettingsFragment.AllSettin
})
findViewById<View>(R.id.incompatible_network_reset_later_button)
.setOnClickListener(ThrottleClick {
/**
* User has been let know of the incompatible network and dismissed the alert.
* Set the network and carry on.
*/
sharedPrefsWrapper.network = Constants.Wallet.network
dismiss()
})
}.show()
Expand Down

0 comments on commit 4af6f50

Please sign in to comment.