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