diff options
-rw-r--r-- | src/lib/link-meta/bsky.ts | 2 | ||||
-rw-r--r-- | src/state/models/root-store.ts | 2 | ||||
-rw-r--r-- | src/state/models/ui/shell.ts (renamed from src/state/models/shell-ui.ts) | 4 | ||||
-rw-r--r-- | src/view/com/composer/Composer.tsx | 2 | ||||
-rw-r--r-- | src/view/com/composer/useExternalLinkFetch.ts | 2 | ||||
-rw-r--r-- | src/view/com/lightbox/Lightbox.tsx | 2 | ||||
-rw-r--r-- | src/view/com/lightbox/Lightbox.web.tsx | 2 | ||||
-rw-r--r-- | src/view/com/modals/Modal.web.tsx | 2 | ||||
-rw-r--r-- | src/view/com/profile/ProfileHeader.tsx | 2 | ||||
-rw-r--r-- | src/view/com/util/PostEmbeds/QuoteEmbed.tsx | 2 | ||||
-rw-r--r-- | src/view/com/util/PostEmbeds/index.tsx | 2 | ||||
-rw-r--r-- | src/view/shell/Composer.tsx | 2 | ||||
-rw-r--r-- | src/view/shell/Composer.web.tsx | 2 |
13 files changed, 14 insertions, 14 deletions
diff --git a/src/lib/link-meta/bsky.ts b/src/lib/link-meta/bsky.ts index 0d8e8c69b..67ce3ad42 100644 --- a/src/lib/link-meta/bsky.ts +++ b/src/lib/link-meta/bsky.ts @@ -3,7 +3,7 @@ import {LikelyType, LinkMeta} from './link-meta' import {convertBskyAppUrlIfNeeded, makeRecordUri} from '../strings/url-helpers' import {RootStoreModel} from 'state/index' import {PostThreadViewModel} from 'state/models/post-thread-view' -import {ComposerOptsQuote} from 'state/models/shell-ui' +import {ComposerOptsQuote} from 'state/models/ui/shell' // TODO // import {Home} from 'view/screens/Home' diff --git a/src/state/models/root-store.ts b/src/state/models/root-store.ts index 203dacce8..2af99e47c 100644 --- a/src/state/models/root-store.ts +++ b/src/state/models/root-store.ts @@ -11,7 +11,7 @@ import {z} from 'zod' import {isObj, hasProp} from 'lib/type-guards' import {LogModel} from './log' import {SessionModel} from './session' -import {ShellUiModel} from './shell-ui' +import {ShellUiModel} from './ui/shell' import {ProfilesViewModel} from './profiles-view' import {LinkMetasViewModel} from './link-metas-view' import {NotificationsViewItemModel} from './notifications-view' diff --git a/src/state/models/shell-ui.ts b/src/state/models/ui/shell.ts index 8e4eed6eb..db6ae2eac 100644 --- a/src/state/models/shell-ui.ts +++ b/src/state/models/ui/shell.ts @@ -1,6 +1,6 @@ -import {RootStoreModel} from './root-store' +import {RootStoreModel} from '../root-store' import {makeAutoObservable} from 'mobx' -import {ProfileViewModel} from './profile-view' +import {ProfileViewModel} from '../profile-view' import {isObj, hasProp} from 'lib/type-guards' import {PickedMedia} from 'lib/media/types' diff --git a/src/view/com/composer/Composer.tsx b/src/view/com/composer/Composer.tsx index e9b728d73..db4a3233e 100644 --- a/src/view/com/composer/Composer.tsx +++ b/src/view/com/composer/Composer.tsx @@ -23,7 +23,7 @@ import {CharProgress} from './char-progress/CharProgress' import {UserAvatar} from '../util/UserAvatar' import {useStores} from 'state/index' import * as apilib from 'lib/api/index' -import {ComposerOpts} from 'state/models/shell-ui' +import {ComposerOpts} from 'state/models/ui/shell' import {s, colors, gradients} from 'lib/styles' import {cleanError} from 'lib/strings/errors' import {SelectPhotoBtn} from './photos/SelectPhotoBtn' diff --git a/src/view/com/composer/useExternalLinkFetch.ts b/src/view/com/composer/useExternalLinkFetch.ts index 75f833e84..9cb91231c 100644 --- a/src/view/com/composer/useExternalLinkFetch.ts +++ b/src/view/com/composer/useExternalLinkFetch.ts @@ -5,7 +5,7 @@ import {getLinkMeta} from 'lib/link-meta/link-meta' import {getPostAsQuote} from 'lib/link-meta/bsky' import {downloadAndResize} from 'lib/media/manip' import {isBskyPostUrl} from 'lib/strings/url-helpers' -import {ComposerOpts} from 'state/models/shell-ui' +import {ComposerOpts} from 'state/models/ui/shell' export function useExternalLinkFetch({ setQuote, diff --git a/src/view/com/lightbox/Lightbox.tsx b/src/view/com/lightbox/Lightbox.tsx index 7509e07c4..d6cc8c254 100644 --- a/src/view/com/lightbox/Lightbox.tsx +++ b/src/view/com/lightbox/Lightbox.tsx @@ -3,7 +3,7 @@ import {View} from 'react-native' import {observer} from 'mobx-react-lite' import ImageView from './ImageViewing' import {useStores} from 'state/index' -import * as models from 'state/models/shell-ui' +import * as models from 'state/models/ui/shell' import {saveImageModal} from 'lib/media/manip' import {ImageSource} from './ImageViewing/@types' diff --git a/src/view/com/lightbox/Lightbox.web.tsx b/src/view/com/lightbox/Lightbox.web.tsx index dfe4f5603..a79d2ba06 100644 --- a/src/view/com/lightbox/Lightbox.web.tsx +++ b/src/view/com/lightbox/Lightbox.web.tsx @@ -9,7 +9,7 @@ import { import {observer} from 'mobx-react-lite' import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome' import {useStores} from 'state/index' -import * as models from 'state/models/shell-ui' +import * as models from 'state/models/ui/shell' import {colors} from 'lib/styles' interface Img { diff --git a/src/view/com/modals/Modal.web.tsx b/src/view/com/modals/Modal.web.tsx index 0627fa9b6..d8815376c 100644 --- a/src/view/com/modals/Modal.web.tsx +++ b/src/view/com/modals/Modal.web.tsx @@ -3,7 +3,7 @@ import {TouchableWithoutFeedback, StyleSheet, View} from 'react-native' import {observer} from 'mobx-react-lite' import {useStores} from 'state/index' import {usePalette} from 'lib/hooks/usePalette' -import type {Modal as ModalIface} from 'state/models/shell-ui' +import type {Modal as ModalIface} from 'state/models/ui/shell' import * as ConfirmModal from './Confirm' import * as EditProfileModal from './EditProfile' diff --git a/src/view/com/profile/ProfileHeader.tsx b/src/view/com/profile/ProfileHeader.tsx index b061aac41..06dd20989 100644 --- a/src/view/com/profile/ProfileHeader.tsx +++ b/src/view/com/profile/ProfileHeader.tsx @@ -15,7 +15,7 @@ import {useNavigation} from '@react-navigation/native' import {BlurView} from '../util/BlurView' import {ProfileViewModel} from 'state/models/profile-view' import {useStores} from 'state/index' -import {ProfileImageLightbox} from 'state/models/shell-ui' +import {ProfileImageLightbox} from 'state/models/ui/shell' import {pluralize} from 'lib/strings/helpers' import {toShareUrl} from 'lib/strings/url-helpers' import {s, colors} from 'lib/styles' diff --git a/src/view/com/util/PostEmbeds/QuoteEmbed.tsx b/src/view/com/util/PostEmbeds/QuoteEmbed.tsx index f98a66b76..fee67c9bc 100644 --- a/src/view/com/util/PostEmbeds/QuoteEmbed.tsx +++ b/src/view/com/util/PostEmbeds/QuoteEmbed.tsx @@ -5,7 +5,7 @@ import {PostMeta} from '../PostMeta' import {Link} from '../Link' import {Text} from '../text/Text' import {usePalette} from 'lib/hooks/usePalette' -import {ComposerOptsQuote} from 'state/models/shell-ui' +import {ComposerOptsQuote} from 'state/models/ui/shell' const QuoteEmbed = ({quote}: {quote: ComposerOptsQuote}) => { const pal = usePalette('default') diff --git a/src/view/com/util/PostEmbeds/index.tsx b/src/view/com/util/PostEmbeds/index.tsx index 3d3356712..02a8aa90e 100644 --- a/src/view/com/util/PostEmbeds/index.tsx +++ b/src/view/com/util/PostEmbeds/index.tsx @@ -15,7 +15,7 @@ import { import {Link} from '../Link' import {AutoSizedImage} from '../images/AutoSizedImage' import {ImageLayoutGrid} from '../images/ImageLayoutGrid' -import {ImagesLightbox} from 'state/models/shell-ui' +import {ImagesLightbox} from 'state/models/ui/shell' import {useStores} from 'state/index' import {usePalette} from 'lib/hooks/usePalette' import {saveImageModal} from 'lib/media/manip' diff --git a/src/view/shell/Composer.tsx b/src/view/shell/Composer.tsx index 2ab01c656..e0a75090d 100644 --- a/src/view/shell/Composer.tsx +++ b/src/view/shell/Composer.tsx @@ -2,7 +2,7 @@ import React, {useEffect} from 'react' import {observer} from 'mobx-react-lite' import {Animated, Easing, Platform, StyleSheet, View} from 'react-native' import {ComposePost} from '../com/composer/Composer' -import {ComposerOpts} from 'state/models/shell-ui' +import {ComposerOpts} from 'state/models/ui/shell' import {useAnimatedValue} from 'lib/hooks/useAnimatedValue' import {usePalette} from 'lib/hooks/usePalette' diff --git a/src/view/shell/Composer.web.tsx b/src/view/shell/Composer.web.tsx index 465b475fb..c165c2a15 100644 --- a/src/view/shell/Composer.web.tsx +++ b/src/view/shell/Composer.web.tsx @@ -2,7 +2,7 @@ import React from 'react' import {observer} from 'mobx-react-lite' import {StyleSheet, View} from 'react-native' import {ComposePost} from '../com/composer/Composer' -import {ComposerOpts} from 'state/models/shell-ui' +import {ComposerOpts} from 'state/models/ui/shell' import {usePalette} from 'lib/hooks/usePalette' export const Composer = observer( |