Skip to content

Commit

Permalink
include compartment ID settings in settings commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tmgrask committed Dec 10, 2024
1 parent b1dfe0a commit 835fe24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/ConduitSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import Animated, {
withTiming,
} from "react-native-reanimated";

import { useInproxyKeyPair } from "@/src/auth/hooks";
import { useInproxyCompartmentId, useInproxyKeyPair } from "@/src/auth/hooks";
import { wrapError } from "@/src/common/errors";
import { MBToBytes, bytesToMB } from "@/src/common/utils";
import { AnimatedText } from "@/src/components/AnimatedText";
Expand Down Expand Up @@ -166,6 +166,8 @@ export function ConduitSettings({ iconSize }: { iconSize: number }) {
limitUpstreamBytesPerSecond: MBToBytes(modifiedMaxMBps.value),
limitDownstreamBytesPerSecond: MBToBytes(modifiedMaxMBps.value),
privateKey: inproxyParameters.privateKey,
personalPairingEnabled: modifiedPersonalPairingModeEnabled.value,
compartmentId: inproxyParameters.compartmentId,
} as InproxyParameters);
if (newInproxyParameters.error) {
logErrorToDiagnostic(
Expand Down

0 comments on commit 835fe24

Please sign in to comment.