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