Resolve native tab on unsupported devices color scheme.
This commit is contained in:
@@ -36,6 +36,13 @@ function AuthenticatedLayout() {
|
||||
<NativeTabs
|
||||
minimizeBehavior="onScrollDown"
|
||||
disableTransparentOnScrollEdge
|
||||
{...(paperTheme.theme === "dark"
|
||||
? {
|
||||
backgroundColor: DarkTheme.colors.background,
|
||||
tintColor: DarkTheme.colors.text,
|
||||
indicatorColor: DarkTheme.colors.border,
|
||||
}
|
||||
: {})}
|
||||
>
|
||||
<NativeTabs.Trigger name="jobs">
|
||||
<Label>{t("joblist.labels.activejobs")}</Label>
|
||||
|
||||
Reference in New Issue
Block a user