fix: settings on alpha 330.1+
This commit is contained in:
parent
727603ff46
commit
61751664c5
2 changed files with 2 additions and 4 deletions
|
|
@ -12,8 +12,7 @@ export interface RowConfig {
|
|||
icon?: ImageURISource | number;
|
||||
IconComponent?: React.ReactNode,
|
||||
usePredicate?: () => boolean,
|
||||
useTrailing?: () => string | JSX.Element,
|
||||
rawTabsConfig?: Record<string, any>;
|
||||
useTrailing?: () => string | JSX.Element
|
||||
}
|
||||
|
||||
export const registeredSections = {} as {
|
||||
|
|
|
|||
|
|
@ -29,8 +29,7 @@ export function patchTabsUI(unpatches: (() => void | boolean)[]) {
|
|||
usePredicate: row.usePredicate,
|
||||
useTrailing: row.useTrailing,
|
||||
onPress: wrapOnPress(row.onPress, null, row.render, row.title()),
|
||||
withArrow: true,
|
||||
...row.rawTabsConfig
|
||||
withArrow: true
|
||||
}
|
||||
})))
|
||||
.reduce((a, c) => Object.assign(a, c));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue