make service items in drawer be dynamicly generated
This commit is contained in:
parent
c8a9ad45c9
commit
4628494e7b
3 changed files with 18 additions and 5 deletions
|
|
@ -109,4 +109,11 @@ public class ServiceHelper {
|
|||
return TimeUnit.MILLISECONDS.convert(1, TimeUnit.HOURS);
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean isBeta(final StreamingService s) {
|
||||
switch(s.getServiceInfo().getName()) {
|
||||
case "YouTube": return false;
|
||||
default: return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue