diff options
author | Paul Frazee <pfrazee@gmail.com> | 2024-02-12 13:36:20 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-12 13:36:20 -0800 |
commit | ba7463cadf15bd5420e1a8cc46952bde2c81cad9 (patch) | |
tree | f4ed4cc4f0aa68da006d22bbe7be60ef3d56fe3a /src/view/com/modals/Modal.web.tsx | |
parent | b91a6b429a59066cfdff1da92a379f98dedafccf (diff) | |
download | voidsky-ba7463cadf15bd5420e1a8cc46952bde2c81cad9.tar.zst |
Improved server selector during account creation and signin (#2840)
* Replace the ServerInput modal with a new dialog based on alf that remembers your server address history and doesnt put staging and localdev in the options * Update the server selector during account creation * dont apply capitalization, use url keyboard * Apply insets to dialog top * Improve padding of dialogs on native * Fix race condition in dialog close; also fix fire of the onClose event in dialogs --------- Co-authored-by: Hailey <me@haileyok.com>
Diffstat (limited to 'src/view/com/modals/Modal.web.tsx')
-rw-r--r-- | src/view/com/modals/Modal.web.tsx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/view/com/modals/Modal.web.tsx b/src/view/com/modals/Modal.web.tsx index cb6f5bead..97a60be91 100644 --- a/src/view/com/modals/Modal.web.tsx +++ b/src/view/com/modals/Modal.web.tsx @@ -9,7 +9,6 @@ import {useModals, useModalControls} from '#/state/modals' import type {Modal as ModalIface} from '#/state/modals' import * as ConfirmModal from './Confirm' import * as EditProfileModal from './EditProfile' -import * as ServerInputModal from './ServerInput' import * as ReportModal from './report/Modal' import * as AppealLabelModal from './AppealLabel' import * as CreateOrEditListModal from './CreateOrEditList' @@ -84,8 +83,6 @@ function Modal({modal}: {modal: ModalIface}) { element = <ConfirmModal.Component {...modal} /> } else if (modal.name === 'edit-profile') { element = <EditProfileModal.Component {...modal} /> - } else if (modal.name === 'server-input') { - element = <ServerInputModal.Component {...modal} /> } else if (modal.name === 'report') { element = <ReportModal.Component {...modal} /> } else if (modal.name === 'appeal-label') { |