diff options
Diffstat (limited to 'src/view/com')
-rw-r--r-- | src/view/com/modals/ComposePost.tsx | 2 | ||||
-rw-r--r-- | src/view/com/profile/ProfileHeader.tsx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/view/com/modals/ComposePost.tsx b/src/view/com/modals/ComposePost.tsx index cdd312352..b1309ca83 100644 --- a/src/view/com/modals/ComposePost.tsx +++ b/src/view/com/modals/ComposePost.tsx @@ -48,7 +48,7 @@ export function Component({replyTo}: {replyTo?: string}) { return false } try { - await apilib.post(store.api, 'alice.test', text, replyTo) + await apilib.post(store.api, 'did:test:alice', text, replyTo) } catch (e: any) { console.error(`Failed to create post: ${e.toString()}`) setError( diff --git a/src/view/com/profile/ProfileHeader.tsx b/src/view/com/profile/ProfileHeader.tsx index c5984ddff..8b30e0f92 100644 --- a/src/view/com/profile/ProfileHeader.tsx +++ b/src/view/com/profile/ProfileHeader.tsx @@ -30,7 +30,7 @@ export const ProfileHeader = observer(function ProfileHeader({ view?.toggleFollowing().then( () => { Toast.show( - `${view.myState.hasFollowed ? 'Following' : 'No longer following'} ${ + `${view.myState.follow ? 'Following' : 'No longer following'} ${ view.displayName || view.name }`, { @@ -104,7 +104,7 @@ export const ProfileHeader = observer(function ProfileHeader({ style={[styles.mainBtn, styles.btn]}> <Text style={[s.fw400, s.f14]}>Edit Profile</Text> </TouchableOpacity> - ) : view.myState.hasFollowed ? ( + ) : view.myState.follow ? ( <TouchableOpacity onPress={onPressToggleFollow} style={[styles.mainBtn, styles.btn]}> |