diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-04-04 03:18:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-03 19:18:14 -0700 |
commit | 712768dd8f9172ff79700765f9f09db07ca00028 (patch) | |
tree | 5836e7512b516ab14536dd025b09bc099becb8ef /src/state/modals/index.tsx | |
parent | 8cdd8394df52827a5880074e5cf11d5b62521249 (diff) | |
download | voidsky-712768dd8f9172ff79700765f9f09db07ca00028.tar.zst |
Use ALF for the account quick switch dialog (#3327)
* Use ALF for account quick switch * clean up modal type * add haptics to dialog opening * move account list to it's own component and share * make tick slightly darker
Diffstat (limited to 'src/state/modals/index.tsx')
-rw-r--r-- | src/state/modals/index.tsx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/state/modals/index.tsx b/src/state/modals/index.tsx index 524dcb1ba..aae4fc52f 100644 --- a/src/state/modals/index.tsx +++ b/src/state/modals/index.tsx @@ -1,11 +1,11 @@ import React from 'react' -import {AppBskyActorDefs, AppBskyGraphDefs} from '@atproto/api' import {Image as RNImage} from 'react-native-image-crop-picker' +import {AppBskyActorDefs, AppBskyGraphDefs} from '@atproto/api' -import {ImageModel} from '#/state/models/media/image' -import {GalleryModel} from '#/state/models/media/gallery' import {useNonReactiveCallback} from '#/lib/hooks/useNonReactiveCallback' import {EmbedPlayerSource} from '#/lib/strings/embed-player' +import {GalleryModel} from '#/state/models/media/gallery' +import {ImageModel} from '#/state/models/media/image' import {ThreadgateSetting} from '../queries/threadgate' export interface EditProfileModal { @@ -118,10 +118,6 @@ export interface ChangePasswordModal { name: 'change-password' } -export interface SwitchAccountModal { - name: 'switch-account' -} - export interface LinkWarningModal { name: 'link-warning' text: string @@ -148,7 +144,6 @@ export type Modal = | VerifyEmailModal | ChangeEmailModal | ChangePasswordModal - | SwitchAccountModal // Curation | ContentLanguagesSettingsModal |