anln_0000001_superFanPrices #25

Merged
yezian merged 48 commits from anln_0000001_superFanPrices into main 2025-01-21 14:34:00 +08:00
1 changed files with 13 additions and 0 deletions
Showing only changes of commit 98abf91e28 - Show all commits

View File

@ -84,6 +84,19 @@ export default function NoticeItem({ navigation, leftIcon, hasLink, data }) {
action: links[0]?.inward_action_type,
});
if (typeof linkAndParams === "string") {
if (links[0]?.action === "webViewHeader") {
navigation.navigate("WebWithHeader", {
title: "",
uri: linkAndParams,
});
return;
} else if (links[0]?.action === "webViewWithOutHeader") {
navigation.navigate("WebWithoutHeader", {
title: "",
uri: linkAndParams,
});
return;
}
try {
//
Linking.openURL(linkAndParams).catch(() => {