Replace some old modal models that got missed
This commit is contained in:
parent
58b187ce7c
commit
3e19728618
2 changed files with 6 additions and 4 deletions
|
@ -23,7 +23,6 @@ import {createFullHandle} from 'lib/strings/handles'
|
|||
import {toNiceDomain} from 'lib/strings/url-helpers'
|
||||
import {useStores, RootStoreModel, DEFAULT_SERVICE} from 'state/index'
|
||||
import {ServiceDescription} from 'state/models/session'
|
||||
import {ServerInputModal} from 'state/models/shell-ui'
|
||||
import {AccountData} from 'state/models/session'
|
||||
import {isNetworkError} from 'lib/strings/errors'
|
||||
import {usePalette} from 'lib/hooks/usePalette'
|
||||
|
@ -488,7 +487,11 @@ const ForgotPasswordForm = ({
|
|||
// }, [screen])
|
||||
|
||||
const onPressSelectService = () => {
|
||||
store.shell.openModal(new ServerInputModal(serviceUrl, setServiceUrl))
|
||||
store.shell.openModal({
|
||||
name: 'server-input',
|
||||
initialService: serviceUrl,
|
||||
onSelect: setServiceUrl,
|
||||
})
|
||||
}
|
||||
|
||||
const onPressNext = async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue