mirror of
https://github.com/tooot-app/app
synced 2025-04-24 15:08:51 +02:00
Default posting visibility cannot be direct
This commit is contained in:
parent
9658b0cb71
commit
0ca4490b90
@ -122,7 +122,6 @@
|
||||
"public": "Public",
|
||||
"unlisted": "Unlisted",
|
||||
"private": "Followers only",
|
||||
"direct": "Direct message",
|
||||
"cancel": "$t(common:buttons.cancel)"
|
||||
}
|
||||
},
|
||||
|
@ -25,10 +25,9 @@ const ScreenMeProfileRoot: React.FC<StackScreenProps<
|
||||
t('me.profile.root.visibility.options.public'),
|
||||
t('me.profile.root.visibility.options.unlisted'),
|
||||
t('me.profile.root.visibility.options.private'),
|
||||
t('me.profile.root.visibility.options.direct'),
|
||||
t('me.profile.root.visibility.options.cancel')
|
||||
],
|
||||
cancelButtonIndex: 4
|
||||
cancelButtonIndex: 3
|
||||
},
|
||||
async buttonIndex => {
|
||||
switch (buttonIndex) {
|
||||
@ -41,9 +40,6 @@ const ScreenMeProfileRoot: React.FC<StackScreenProps<
|
||||
case 2:
|
||||
mutate({ type: 'source[privacy]', data: 'private' })
|
||||
break
|
||||
case 3:
|
||||
mutate({ type: 'source[privacy]', data: 'direct' })
|
||||
break
|
||||
}
|
||||
}
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user