fix(YouTube): Do not show restart prompt more than once if setting change is canceled

This commit is contained in:
LisoUseInAIKyrios 2025-03-20 12:14:31 +01:00
parent 8e494d26d4
commit df838ed91d
2 changed files with 29 additions and 9 deletions

View file

@ -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());