We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca55a28 commit aa009b4Copy full SHA for aa009b4
app/src/main/java/org/schabi/newpipe/util/services/ServiceHelper.java
@@ -114,12 +114,10 @@ public static int getImportInstructions(final int serviceId) {
114
*/
115
@StringRes
116
public static int getImportInstructionsHint(final int serviceId) {
117
- switch (serviceId) {
118
- case 1:
119
- return R.string.import_soundcloud_instructions_hint;
120
- default:
121
- return -1;
+ if (serviceId == 1) {
+ return R.string.import_soundcloud_instructions_hint;
122
}
+ return -1;
123
124
125
public static int getSelectedServiceId(final Context context) {
0 commit comments