mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-30 21:55:10 +00:00
Missing breaks in switch
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user