mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 18:15:49 +01:00
Add icon for Mi Band 2
This commit is contained in:
parent
8766fc5269
commit
6843b5aa8f
@ -51,6 +51,7 @@ public class DeviceCandidateAdapter extends ArrayAdapter<GBDeviceCandidate> {
|
||||
deviceImageView.setImageResource(R.drawable.ic_device_pebble);
|
||||
break;
|
||||
case MIBAND:
|
||||
case MIBAND2:
|
||||
deviceImageView.setImageResource(R.drawable.ic_device_miband);
|
||||
break;
|
||||
default:
|
||||
|
@ -120,6 +120,7 @@ public class GBDeviceAdapter extends ArrayAdapter<GBDevice> {
|
||||
}
|
||||
break;
|
||||
case MIBAND:
|
||||
case MIBAND2:
|
||||
if (device.isConnected()) {
|
||||
deviceImageView.setImageResource(R.drawable.ic_device_miband);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user