mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
don't show progress animation once we have a node listed, re #25
This commit is contained in:
parent
ee34a7a370
commit
913a0b56fd
1 changed files with 4 additions and 1 deletions
|
|
@ -360,8 +360,11 @@ class SettingsFragment : ScreenFragment("Settings"), Logging {
|
|||
b.isChecked = device.macAddress == scanModel.selectedMacAddr
|
||||
deviceRadioGroup.addView(b)
|
||||
|
||||
// Once we have at least one device, don't show the "looking for" animation - it makes uers think
|
||||
// something is busted
|
||||
scanProgressBar.visibility = View.INVISIBLE
|
||||
|
||||
b.setOnClickListener {
|
||||
scanProgressBar.visibility = View.INVISIBLE
|
||||
if (!device.bonded) // If user just clicked on us, try to bond
|
||||
scanStatusText.setText(R.string.starting_pairing)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue