signupControl.valueChanges
.pipe(pairwise())
.subscribe(([ oldValue, newValue ]) => {
- if (oldValue !== true && newValue === true) {
+ if (oldValue === false && newValue === true) {
/* eslint-disable max-len */
this.signupAlertMessage = $localize`You enabled signup: we automatically enabled the "Block new videos automatically" checkbox of the "Videos" section just below.`
})
}
})
+
+ signupControl.updateValueAndValidity()
}
}
videoStudioControl.setValue(false)
}
})
+
+ transcodingControl.updateValueAndValidity()
+ webtorrentControl.updateValueAndValidity()
+ videoStudioControl.updateValueAndValidity()
+ hlsControl.updateValueAndValidity()
}
}