fix(YouTube - Force original audio): Use correct availability for settings UI
This commit is contained in:
parent
f0f53cf72f
commit
a0b63dfa23
1 changed files with 1 additions and 2 deletions
|
|
@ -36,8 +36,7 @@ public class SpoofVideoStreamsPatch {
|
|||
public boolean isAvailable() {
|
||||
if (SpoofVideoStreamsPatch.isPatchIncluded()) {
|
||||
EnumSetting<ClientType> setting = BaseSettings.SPOOF_VIDEO_STREAMS_CLIENT_TYPE;
|
||||
ClientType type = setting.get();
|
||||
return setting.isAvailable() && type.androidSdkVersion == null;
|
||||
return !setting.isAvailable() || setting.get().androidSdkVersion == null;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue