There was an error while loading. Please reload this page.
1 parent 8162a6f commit 661266dCopy full SHA for 661266d
1 file changed
apps/mobile/src/modules/entry-list/templates/EntryVideoItem.tsx
@@ -130,8 +130,7 @@ const openVideo = async (url: string) => {
130
if (openLinksInExternalApp) {
131
const schemeLink = parseSchemeLink(url)
132
try {
133
- const isInstalled = !!schemeLink && (await Linking.canOpenURL(schemeLink))
134
- if (schemeLink && isInstalled) {
+ if (schemeLink) {
135
await Linking.openURL(schemeLink)
136
return
137
}
@@ -141,6 +140,6 @@ const openVideo = async (url: string) => {
141
140
142
143
// Fallback to opening in in-app browser
144
- const formattedUrl = transformVideoUrl({ url }) || url
+ const formattedUrl = openLinksInExternalApp ? url : transformVideoUrl({ url }) || url
145
openLink(formattedUrl)
146
0 commit comments