anln_0000001_superFanPrices #25
|
@ -41,13 +41,19 @@ export default function Banner({
|
|||
const linkAndParams = goToPage(banner?.link);
|
||||
const link = banner?.link;
|
||||
if (typeof linkAndParams === "string") {
|
||||
if (link?.action === "webViewHeader") {
|
||||
if (
|
||||
link?.action === "webViewHeaderInward" ||
|
||||
link?.action === "webViewHeaderOutward"
|
||||
) {
|
||||
navigation.navigate("WebWithHeader", {
|
||||
title: "",
|
||||
uri: linkAndParams,
|
||||
});
|
||||
return;
|
||||
} else if (link?.action === "webViewWithOutHeader") {
|
||||
} else if (
|
||||
link?.action === "webViewWithOutHeaderInward" ||
|
||||
link?.action === "webViewWithOutHeaderOutward"
|
||||
) {
|
||||
navigation.navigate("WebWithoutHeader", {
|
||||
title: "",
|
||||
uri: linkAndParams,
|
||||
|
|
Loading…
Reference in New Issue