fix our broken patches
This commit is contained in:
parent
5e1a3f50ba
commit
e4fd11f98a
2 changed files with 3 additions and 3 deletions
|
|
@ -99,8 +99,8 @@ export default definePlugin({
|
|||
replacement: [
|
||||
// override default stream quality with configured bitrate/resolution/fps
|
||||
{
|
||||
match: /(this\.goliveMaxQuality)=(this\.getDefaultGoliveQuality\(\))/,
|
||||
replace: "$1=$self.patchStreamQuality($2)",
|
||||
match: /this\.getDefaultGoliveQuality\(\)/,
|
||||
replace: "$self.patchStreamQuality($&)",
|
||||
},
|
||||
// inject configured quality when stream settings change mid-stream
|
||||
{
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ export const EmbedContext = proxyLazyWebpack(() => React.createContext<null | Em
|
|||
export const EmbedMosaicContext = proxyLazyWebpack(() => React.createContext<null | number>(null));
|
||||
const AttachmentContext = proxyLazyWebpack(() => React.createContext<null | AttachmentItem>(null));
|
||||
|
||||
const ManaSearchBar = findComponentByCodeLazy<ManaSearchBarProps>("#{intl::SEARCH}),ref");
|
||||
const ManaSearchBar = findComponentByCodeLazy<ManaSearchBarProps>(".MagnifyingGlassIcon,onClear");
|
||||
const FavoriteButton = findComponentByCodeLazy<FavoriteButtonProps>("#{intl::GIF_TOOLTIP_ADD_TO_FAVORITES}");
|
||||
|
||||
const createChannelRecordFromServer = findByCodeLazy(".GUILD_TEXT]", "fromServer)");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue