fix(YouTube): Do not show restart prompt more than once if setting change is canceled
This commit is contained in:
parent
8e494d26d4
commit
df838ed91d
2 changed files with 29 additions and 9 deletions
|
|
@ -73,6 +73,7 @@ public class SpoofStreamingDataSideEffectsPreference extends Preference {
|
|||
if (currentClientType == clientType) {
|
||||
return;
|
||||
}
|
||||
currentClientType = clientType;
|
||||
|
||||
Logger.printDebug(() -> "Updating spoof stream side effects preference");
|
||||
setEnabled(BaseSettings.SPOOF_VIDEO_STREAMS.get());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue