mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Basic notification working
This commit is contained in:
@ -6,7 +6,10 @@ import * as WebBrowser from 'expo-web-browser'
|
||||
const openLink = async (url: string) => {
|
||||
switch (getSettingsBrowser(store.getState())) {
|
||||
case 'internal':
|
||||
await WebBrowser.openBrowserAsync(url)
|
||||
await WebBrowser.openBrowserAsync(url, {
|
||||
dismissButtonStyle: 'close',
|
||||
enableBarCollapsing: true
|
||||
})
|
||||
break
|
||||
case 'external':
|
||||
await Linking.openURL(url)
|
||||
|
Reference in New Issue
Block a user