diff options
Diffstat (limited to 'gui/src')
| -rw-r--r-- | gui/src/renderer/app.tsx | 2 | ||||
| -rw-r--r-- | gui/src/renderer/redux/settings/reducers.ts | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gui/src/renderer/app.tsx b/gui/src/renderer/app.tsx index 5e2c574d79..a8c1901ae8 100644 --- a/gui/src/renderer/app.tsx +++ b/gui/src/renderer/app.tsx @@ -657,6 +657,8 @@ export default class AppRenderer { type: bridgeSettings.type, normal: { location: liftConstraint(bridgeSettings.normal.location), + providers: bridgeSettings.normal.providers, + ownership: bridgeSettings.normal.ownership, }, custom: bridgeSettings.custom, }); diff --git a/gui/src/renderer/redux/settings/reducers.ts b/gui/src/renderer/redux/settings/reducers.ts index 07502ab280..210ef38010 100644 --- a/gui/src/renderer/redux/settings/reducers.ts +++ b/gui/src/renderer/redux/settings/reducers.ts @@ -42,6 +42,9 @@ export type NormalRelaySettingsRedux = { export type NormalBridgeSettingsRedux = { location: LiftedConstraint<RelayLocation>; + // Providers and ownership are used to filter bridges and as bridge constraints for the daemon. + providers: string[]; + ownership: Ownership; }; export type RelaySettingsRedux = @@ -150,6 +153,8 @@ const initialState: ISettingsReduxState = { type: 'normal', normal: { location: 'any', + providers: [], + ownership: Ownership.any, }, custom: undefined, }, |
