dont show your own name
This commit is contained in:
@@ -126,7 +126,7 @@ export function Provider({
|
|||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
canNext: false,
|
canNext: true,
|
||||||
currentStep: 'Details',
|
currentStep: 'Details',
|
||||||
profiles: [profile],
|
profiles: [profile],
|
||||||
feeds: [],
|
feeds: [],
|
||||||
|
|||||||
@@ -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) ||
|
||||||
|
|||||||
Reference in New Issue
Block a user