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 fabe37cb91
commit 49797fe8d0
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());