Skip to content

Commit

Permalink
fix missing source
Browse files Browse the repository at this point in the history
  • Loading branch information
yofukashino committed Nov 15, 2024
1 parent c56f89a commit 1bdf85c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ export const stop = (): void => {
PluginInjector.uninjectAll();
Injections.removeInjections();
};
export { defaultSettings, streamStoreKeys } from "./lib/consts";

export { Settings } from "./Components/Settings";
15 changes: 3 additions & 12 deletions src/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const saveModuleKeys = (): Promise<void> => {
);
streamStoreKeys.makeResolutionLabel = webpack.getFunctionKeyBySource(
Modules.ApplicationStreamingOption,
"Messages.",
"intl.formatToPlainString",
);
return Promise.resolve();
};
Expand Down Expand Up @@ -191,22 +191,13 @@ export const setCustomParameters = (streamingConstants: Types.StreamingConstants
value: resolution,
label:
resolution == 0
? defaultParameters.ApplicationStreamResolutionButtonsWithSuffixLabel.find(
(button) => button.value == 0,
).label
? Modules.ApplicationStreamingOption[streamStoreKeys.makeResolutionLabel](0)
: resolution,
})),
ApplicationStreamResolutionButtonsWithSuffixLabel: streamingConstants.resolution.map(
(resolution) => ({
value: resolution,
label:
resolution == 0
? defaultParameters.ApplicationStreamResolutionButtonsWithSuffixLabel.find(
(button) => button.value == 0,
).label
: defaultParameters.ApplicationStreamResolutionButtonsWithSuffixLabel.find(
(button) => button.value == 720,
).label.replace("720", `${resolution}`),
label: Modules.ApplicationStreamingOption[streamStoreKeys.makeResolutionLabel](resolution),
}),
),
ApplicationStreamResolutions: Object.assign(
Expand Down

0 comments on commit 1bdf85c

Please sign in to comment.