diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-03-12 22:02:28 +0000 |
---|---|---|
committer | Samuel Newman <mozzius@protonmail.com> | 2024-03-12 22:02:28 +0000 |
commit | 1512b5cf68e9e92801a894392569b444fd6af1d1 (patch) | |
tree | f756f3a4405127839e6f31ee46945e0b2cfe954f /src/state/preferences/in-app-browser.tsx | |
parent | a3c09f9f862a4b4abe43cbb6d1042369fb1e14ba (diff) | |
download | voidsky-1512b5cf68e9e92801a894392569b444fd6af1d1.tar.zst |
run linter
Diffstat (limited to 'src/state/preferences/in-app-browser.tsx')
-rw-r--r-- | src/state/preferences/in-app-browser.tsx | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/state/preferences/in-app-browser.tsx b/src/state/preferences/in-app-browser.tsx index 2398f1f81..c0eb541bb 100644 --- a/src/state/preferences/in-app-browser.tsx +++ b/src/state/preferences/in-app-browser.tsx @@ -1,15 +1,17 @@ -import React from 'react' -import * as persisted from '#/state/persisted' -import {Linking} from 'react-native' import * as WebBrowser from 'expo-web-browser' -import {isNative} from '#/platform/detection' -import {useModalControls} from '../modals' import {usePalette} from 'lib/hooks/usePalette' import { + createBskyAppAbsoluteUrl, isBskyRSSUrl, isRelativeUrl, - createBskyAppAbsoluteUrl, } from 'lib/strings/url-helpers' +import React from 'react' +import {Linking} from 'react-native' + +import {isNative} from '#/platform/detection' +import * as persisted from '#/state/persisted' + +import {useModalControls} from '../modals' type StateContext = persisted.Schema['useInAppBrowser'] type SetContext = (v: persisted.Schema['useInAppBrowser']) => void |