about summary refs log tree commit diff
path: root/src/view/screens
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/screens')
-rw-r--r--src/view/screens/Login.tsx6
-rw-r--r--src/view/screens/Profile.tsx4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/view/screens/Login.tsx b/src/view/screens/Login.tsx
index 38c2c1c79..20b30fe01 100644
--- a/src/view/screens/Login.tsx
+++ b/src/view/screens/Login.tsx
@@ -24,7 +24,7 @@ import {
 } from '../../lib/strings'
 import {useStores, DEFAULT_SERVICE} from '../../state'
 import {ServiceDescription} from '../../state/models/session'
-import {ServerInputModel} from '../../state/models/shell-ui'
+import {ServerInputModal} from '../../state/models/shell-ui'
 import {ComAtprotoAccountCreate} from '../../third-party/api/index'
 import {isNetworkError} from '../../lib/errors'
 
@@ -149,7 +149,7 @@ const Signin = ({onPressBack}: {onPressBack: () => void}) => {
   }, [serviceUrl])
 
   const onPressSelectService = () => {
-    store.shell.openModal(new ServerInputModel(serviceUrl, setServiceUrl))
+    store.shell.openModal(new ServerInputModal(serviceUrl, setServiceUrl))
   }
 
   const onPressNext = async () => {
@@ -309,7 +309,7 @@ const CreateAccount = ({onPressBack}: {onPressBack: () => void}) => {
   }, [serviceUrl])
 
   const onPressSelectService = () => {
-    store.shell.openModal(new ServerInputModel(serviceUrl, setServiceUrl))
+    store.shell.openModal(new ServerInputModal(serviceUrl, setServiceUrl))
   }
 
   const onPressNext = async () => {
diff --git a/src/view/screens/Profile.tsx b/src/view/screens/Profile.tsx
index 14a9af4c7..93a7147b5 100644
--- a/src/view/screens/Profile.tsx
+++ b/src/view/screens/Profile.tsx
@@ -7,7 +7,7 @@ import {ScreenParams} from '../routes'
 import {ProfileUiModel, Sections} from '../../state/models/profile-ui'
 import {MembershipItem} from '../../state/models/memberships-view'
 import {useStores} from '../../state'
-import {ConfirmModel} from '../../state/models/shell-ui'
+import {ConfirmModal} from '../../state/models/shell-ui'
 import {ProfileHeader} from '../com/profile/ProfileHeader'
 import {FeedItem} from '../com/posts/FeedItem'
 import {ProfileCard} from '../com/profile/ProfileCard'
@@ -73,7 +73,7 @@ export const Profile = observer(({navIdx, visible, params}: ScreenParams) => {
   }
   const onPressRemoveMember = (membership: MembershipItem) => {
     store.shell.openModal(
-      new ConfirmModel(
+      new ConfirmModal(
         `Remove ${membership.displayName || membership.handle}?`,
         `You'll be able to invite them again if you change your mind.`,
         async () => {