mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-30 05:37:43 +00:00
Missing breaks in switch
This commit is contained in:
parent
0868394596
commit
b34e7c8a78
@ -158,8 +158,8 @@ public class Device implements BaseLink.PackageReceiver {
|
||||
{
|
||||
int drawableId;
|
||||
switch (deviceType) {
|
||||
case Phone: drawableId = R.drawable.ic_device_phone;
|
||||
case Tablet: drawableId = R.drawable.ic_device_tablet;
|
||||
case Phone: drawableId = R.drawable.ic_device_phone; break;
|
||||
case Tablet: drawableId = R.drawable.ic_device_tablet; break;
|
||||
default: drawableId = R.drawable.ic_device_laptop;
|
||||
}
|
||||
return ContextCompat.getDrawable(context, drawableId);
|
||||
|
Loading…
x
Reference in New Issue
Block a user