Feature/settings add flaresolverr (#568)

* [Codegen] Update to server changes

* Set "dialogTitle" by default to "settingTitle" for "NumberSetting"

* Add FlareSolverr to settings

* [VersionMapping] Require server version "r1477" for preview

* Replace static strings with translation keys
This commit is contained in:
schroda
2024-01-26 21:20:06 +01:00
committed by GitHub
parent 771d6beb18
commit 18ca66cb40
13 changed files with 152 additions and 22 deletions

View File

@@ -31,7 +31,7 @@ type BaseProps = {
minValue?: number;
maxValue?: number;
stepSize?: number;
dialogTitle: string;
dialogTitle?: string;
dialogDescription?: string;
dialogDisclaimer?: string;
valueUnit: string;
@@ -57,7 +57,7 @@ export const NumberSetting = ({
minValue,
maxValue,
stepSize,
dialogTitle,
dialogTitle = settingTitle,
valueUnit,
handleUpdate,
showSlider,