From f333a90fab79d582bbb7f9114f0b005fdb1cae8b Mon Sep 17 00:00:00 2001
From: Paul Frazee <pfrazee@gmail.com>
Date: Fri, 4 Nov 2022 17:39:54 -0500
Subject: Update to the latest APIs

---
 src/view/shell/mobile/MainMenu.tsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'src/view/shell/mobile/MainMenu.tsx')

diff --git a/src/view/shell/mobile/MainMenu.tsx b/src/view/shell/mobile/MainMenu.tsx
index 1ff286efc..89c7857f9 100644
--- a/src/view/shell/mobile/MainMenu.tsx
+++ b/src/view/shell/mobile/MainMenu.tsx
@@ -103,7 +103,7 @@ export const MainMenu = observer(
         style={[styles.menuItem, styles.menuItemMargin]}
         onPress={() => onNavigate(url)}>
         <View style={s.mb5}>
-          <UserAvatar size={60} displayName={label} name={label} />
+          <UserAvatar size={60} displayName={label} handle={label} />
         </View>
         {count ? (
           <View style={styles.menuItemCount}>
@@ -130,16 +130,16 @@ export const MainMenu = observer(
             <View style={[styles.topSection]}>
               <TouchableOpacity
                 style={styles.profile}
-                onPress={() => onNavigate(`/profile/${store.me.name || ''}`)}>
+                onPress={() => onNavigate(`/profile/${store.me.handle || ''}`)}>
                 <View style={styles.profileImage}>
                   <UserAvatar
                     size={30}
                     displayName={store.me.displayName}
-                    name={store.me.name || ''}
+                    handle={store.me.handle || ''}
                   />
                 </View>
                 <Text style={styles.profileText} numberOfLines={1}>
-                  {store.me.displayName || store.me.name || 'My profile'}
+                  {store.me.displayName || store.me.handle || 'My profile'}
                 </Text>
               </TouchableOpacity>
               <View style={[s.flex1]} />
-- 
cgit 1.4.1

