1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00
This commit is contained in:
Zhiyuan Zheng
2021-02-11 01:33:31 +01:00
parent a40a645337
commit d1bddc696a
50 changed files with 271 additions and 269 deletions

View File

@ -77,7 +77,9 @@ const SettingsTooot: React.FC = () => {
iconBack='ChevronRight'
onPress={() => {
const foundAccounts = data?.accounts.filter(
account => account.acct === 'tooot@xmflsct.com'
account =>
account.acct === 'tooot@xmflsct.com' ||
account.url === 'https://social.xmflsct.com/@tooot'
)
if (foundAccounts?.length === 1) {
navigation.navigate('Screen-Compose', {