dont show your own name

This commit is contained in:
Hailey
2024-06-12 00:26:29 -07:00
parent 2d130a05a2
commit 4ec2927b0d
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ export function Provider({
} }
return { return {
canNext: false, canNext: true,
currentStep: 'Details', currentStep: 'Details',
profiles: [profile], profiles: [profile],
feeds: [], feeds: [],
+4 -1
View File
@@ -551,7 +551,10 @@ function Footer({
const editDialogControl = useDialogControl() const editDialogControl = useDialogControl()
const {bottom: bottomInset} = useSafeAreaInsets() const {bottom: bottomInset} = useSafeAreaInsets()
const items = state.currentStep === 'Profiles' ? state.profiles : state.feeds const items =
state.currentStep === 'Profiles'
? [...state.profiles.slice(1), state.profiles[0]]
: state.feeds
const isEditEnabled = const isEditEnabled =
(state.currentStep === 'Profiles' && items.length > 1) || (state.currentStep === 'Profiles' && items.length > 1) ||