1
0
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:
cpfeiffer 2016-08-15 00:39:31 +02:00
parent 8766fc5269
commit 6843b5aa8f
2 changed files with 2 additions and 0 deletions

View File

@ -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:

View File

@ -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 {