dont show your own name
This commit is contained in:
@@ -126,7 +126,7 @@ export function Provider({
|
||||
}
|
||||
|
||||
return {
|
||||
canNext: false,
|
||||
canNext: true,
|
||||
currentStep: 'Details',
|
||||
profiles: [profile],
|
||||
feeds: [],
|
||||
|
||||
@@ -551,7 +551,10 @@ function Footer({
|
||||
const editDialogControl = useDialogControl()
|
||||
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 =
|
||||
(state.currentStep === 'Profiles' && items.length > 1) ||
|
||||
|
||||
Reference in New Issue
Block a user