mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Add breaks to switch statement
This commit is contained in:
parent
273e44cbf0
commit
608b4f86a4
1 changed files with 2 additions and 0 deletions
|
|
@ -185,6 +185,7 @@ public class ContributionsListFragment extends Fragment {
|
|||
controller.startGalleryPick();
|
||||
}
|
||||
}
|
||||
break;
|
||||
// 2 = Location allowed when 'nearby places' selected
|
||||
case 2: {
|
||||
if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) {
|
||||
|
|
@ -193,6 +194,7 @@ public class ContributionsListFragment extends Fragment {
|
|||
startActivity(nearbyIntent);
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue