diff options
author | Ansh <anshnanda10@gmail.com> | 2023-08-30 15:21:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-30 15:21:12 -0700 |
commit | 9446c67880331452b3f79dabda183c23718edfa1 (patch) | |
tree | 1bdf1d57434a3095a58aa41b94c38db1fe12ad10 /src/view/com/modals/Modal.web.tsx | |
parent | a29f10aefe6fa67848ca281a0a7dffc43e292ec6 (diff) | |
download | voidsky-9446c67880331452b3f79dabda183c23718edfa1.tar.zst |
Move `PreferencesHomeFeed` to a screen instead of a modal (#1335)
* move `PreferencesHomeFeed` to a screen instead of a modal * add web route for home feed preferences * upgrade `@miblanchard/react-native-slider` to fix lint * fix web route naming * fix desktop web styling * add `react-native-slider` mock
Diffstat (limited to 'src/view/com/modals/Modal.web.tsx')
-rw-r--r-- | src/view/com/modals/Modal.web.tsx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/view/com/modals/Modal.web.tsx b/src/view/com/modals/Modal.web.tsx index 687c4fba3..05bb7161f 100644 --- a/src/view/com/modals/Modal.web.tsx +++ b/src/view/com/modals/Modal.web.tsx @@ -29,8 +29,6 @@ import * as PostLanguagesSettingsModal from './lang-settings/PostLanguagesSettin import * as OnboardingModal from './OnboardingModal' import * as ModerationDetailsModal from './ModerationDetails' -import * as PreferencesHomeFeed from './PreferencesHomeFeed' - export const ModalsContainer = observer(function ModalsContainer() { const store = useStores() @@ -107,8 +105,6 @@ function Modal({modal}: {modal: ModalIface}) { element = <AltTextImageModal.Component {...modal} /> } else if (modal.name === 'edit-image') { element = <EditImageModal.Component {...modal} /> - } else if (modal.name === 'preferences-home-feed') { - element = <PreferencesHomeFeed.Component /> } else if (modal.name === 'onboarding') { element = <OnboardingModal.Component /> } else if (modal.name === 'moderation-details') { |