mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
@ -166,9 +166,6 @@ const Screens: React.FC<Props> = ({ localCorrupt }) => {
|
|||||||
}
|
}
|
||||||
| { data: string | string[]; mimeType: string }
|
| { data: string | string[]; mimeType: string }
|
||||||
) => {
|
) => {
|
||||||
if (Platform.OS === 'android') {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
if (instanceActive < 0) {
|
if (instanceActive < 0) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -233,14 +230,18 @@ const Screens: React.FC<Props> = ({ localCorrupt }) => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
// case 'android':
|
case 'android':
|
||||||
// if (!item.mimeType) {
|
if (!item.mimeType) {
|
||||||
// return
|
return
|
||||||
// }
|
}
|
||||||
// for (const d of item.data) {
|
if (Array.isArray(item.data)) {
|
||||||
// filterMedia({ uri: d, mime: item.mimeType })
|
for (const d of item.data) {
|
||||||
// }
|
filterMedia({ uri: d, mime: item.mimeType })
|
||||||
// break
|
}
|
||||||
|
} else {
|
||||||
|
filterMedia({ uri: item.data, mime: item.mimeType })
|
||||||
|
}
|
||||||
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!text && !media.length) {
|
if (!text && !media.length) {
|
||||||
|
@ -64,6 +64,7 @@ const TimelineDefault: React.FC<Props> = ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
const onPress = () => {
|
const onPress = () => {
|
||||||
|
if (highlighted) return
|
||||||
analytics('timeline_default_press', {
|
analytics('timeline_default_press', {
|
||||||
page: queryKey ? queryKey[1].page : origin
|
page: queryKey ? queryKey[1].page : origin
|
||||||
})
|
})
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
"follow_request": "{{name}} ha solicitado seguirte",
|
"follow_request": "{{name}} ha solicitado seguirte",
|
||||||
"poll": "Una encuesta en la que has votado ha terminado",
|
"poll": "Una encuesta en la que has votado ha terminado",
|
||||||
"reblog": {
|
"reblog": {
|
||||||
"default": "{{name}} impulsado",
|
"default": "{{name}} ha impulsado",
|
||||||
"notification": "{{name}} ha impulsado tu toot"
|
"notification": "{{name}} ha impulsado tu toot"
|
||||||
},
|
},
|
||||||
"update": "El impulso ha sido editado"
|
"update": "El impulso ha sido editado"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"screenshot": {
|
"screenshot": {
|
||||||
"title": "Protección de la privacidad",
|
"title": "Protección de la privacidad",
|
||||||
"message": "Por favor, no revele la identidad de otros usuarios, como nombre de usuario, avatar, etc. ¡Gracias!",
|
"message": "Por favor, no revele la identidad de otros usuarios, como el nombre de usuario, avatar, etc. ¡Gracias!",
|
||||||
"button": "Confirmar"
|
"button": "Confirmar"
|
||||||
},
|
},
|
||||||
"localCorrupt": {
|
"localCorrupt": {
|
||||||
|
@ -117,8 +117,8 @@
|
|||||||
},
|
},
|
||||||
"fields": {
|
"fields": {
|
||||||
"title": "Metadatos",
|
"title": "Metadatos",
|
||||||
"total_one": "Campo {{count}}",
|
"total_one": "{{count}} campo",
|
||||||
"total_other": "Campos {{count}}"
|
"total_other": "{{count}} campos"
|
||||||
},
|
},
|
||||||
"visibility": {
|
"visibility": {
|
||||||
"title": "Visibilidad de publicación",
|
"title": "Visibilidad de publicación",
|
||||||
@ -346,7 +346,7 @@
|
|||||||
},
|
},
|
||||||
"users": {
|
"users": {
|
||||||
"accounts": {
|
"accounts": {
|
||||||
"following": "Siguiendo {{count}}",
|
"following": "{{count}} seguidos",
|
||||||
"followers": "{{count}} seguidores"
|
"followers": "{{count}} seguidores"
|
||||||
},
|
},
|
||||||
"statuses": {
|
"statuses": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"follow": {
|
"follow": {
|
||||||
"function": "追蹤使用者"
|
"function": "跟隨使用者"
|
||||||
},
|
},
|
||||||
"block": {
|
"block": {
|
||||||
"function": "封鎖使用者"
|
"function": "封鎖使用者"
|
||||||
@ -9,8 +9,8 @@
|
|||||||
"error": "載入錯誤",
|
"error": "載入錯誤",
|
||||||
"blocked_by": "已被使用者封鎖",
|
"blocked_by": "已被使用者封鎖",
|
||||||
"blocking": "解除封鎖",
|
"blocking": "解除封鎖",
|
||||||
"following": "取消追蹤",
|
"following": "取消跟隨",
|
||||||
"requested": "收回要求",
|
"requested": "收回要求",
|
||||||
"default": "追蹤"
|
"default": "跟隨"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -311,8 +311,8 @@
|
|||||||
"name": "<0 /><1>的媒體</1>"
|
"name": "<0 /><1>的媒體</1>"
|
||||||
},
|
},
|
||||||
"hashtag": {
|
"hashtag": {
|
||||||
"follow": "追蹤",
|
"follow": "跟隨",
|
||||||
"unfollow": "取消追蹤"
|
"unfollow": "取消跟隨"
|
||||||
},
|
},
|
||||||
"history": {
|
"history": {
|
||||||
"name": "編輯歷史"
|
"name": "編輯歷史"
|
||||||
|
@ -4,7 +4,7 @@ import log from './log'
|
|||||||
const audio = () => {
|
const audio = () => {
|
||||||
log('log', 'audio', 'setting audio playback default options')
|
log('log', 'audio', 'setting audio playback default options')
|
||||||
Audio.setAudioModeAsync({
|
Audio.setAudioModeAsync({
|
||||||
interruptionModeIOS: InterruptionModeIOS.DoNotMix,
|
interruptionModeIOS: InterruptionModeIOS.MixWithOthers,
|
||||||
interruptionModeAndroid: InterruptionModeAndroid.DuckOthers,
|
interruptionModeAndroid: InterruptionModeAndroid.DuckOthers,
|
||||||
staysActiveInBackground: false
|
staysActiveInBackground: false
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user