diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-03-13 01:55:14 +0000 |
---|---|---|
committer | Samuel Newman <mozzius@protonmail.com> | 2024-03-13 01:55:14 +0000 |
commit | 125ef1c75610c7add79f6a917bfa058f9265d5d4 (patch) | |
tree | 727ff0713592fc550e77db10ad020b852100eb3e /src/state/preferences/in-app-browser.tsx | |
parent | 1512b5cf68e9e92801a894392569b444fd6af1d1 (diff) | |
download | voidsky-125ef1c75610c7add79f6a917bfa058f9265d5d4.tar.zst |
Revert "run linter"
This reverts commit 1512b5cf68e9e92801a894392569b444fd6af1d1.
Diffstat (limited to 'src/state/preferences/in-app-browser.tsx')
-rw-r--r-- | src/state/preferences/in-app-browser.tsx | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/state/preferences/in-app-browser.tsx b/src/state/preferences/in-app-browser.tsx index c0eb541bb..2398f1f81 100644 --- a/src/state/preferences/in-app-browser.tsx +++ b/src/state/preferences/in-app-browser.tsx @@ -1,17 +1,15 @@ +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 |