add Audio to i18n and minor tweak
This commit is contained in:
parent
d39a5c7da2
commit
53ed61df39
|
@ -127,10 +127,10 @@ const ImageContainer = React.memo(
|
|||
title_link: imageUri
|
||||
}));
|
||||
setCached(true);
|
||||
setLoading(false);
|
||||
} catch (e) {
|
||||
setLoading(false);
|
||||
setCached(false);
|
||||
} finally {
|
||||
setLoading(false);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -119,18 +119,15 @@ const Video = React.memo(
|
|||
...prev,
|
||||
video_url: cachedVideoResult.file?.uri
|
||||
}));
|
||||
setCached(true);
|
||||
setLoading(false);
|
||||
setCached(true);
|
||||
if (downloadActive) {
|
||||
cancelDownload(video);
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (downloadActive && !isReply) {
|
||||
return;
|
||||
}
|
||||
setLoading(false);
|
||||
if (isReply) {
|
||||
setLoading(false);
|
||||
return;
|
||||
}
|
||||
await handleAutoDownload();
|
||||
|
@ -162,6 +159,8 @@ const Video = React.memo(
|
|||
video_url: videoUri
|
||||
}));
|
||||
setCached(true);
|
||||
} catch {
|
||||
setCached(false);
|
||||
} finally {
|
||||
setLoading(false);
|
||||
}
|
||||
|
|
|
@ -730,5 +730,6 @@
|
|||
"Video": "Video",
|
||||
"Wi_Fi_and_mobile_data":"Wi-Fi and mobile data",
|
||||
"Wi_Fi": "Wi-Fi",
|
||||
"Off": "Off"
|
||||
"Off": "Off",
|
||||
"Audio": "Audio"
|
||||
}
|
|
@ -718,5 +718,6 @@
|
|||
"Video": "Vídeo",
|
||||
"Wi_Fi_and_mobile_data":"Wi-Fi e dados móveis",
|
||||
"Wi_Fi": "Wi-Fi",
|
||||
"Off": "Desativado"
|
||||
"Off": "Desativado",
|
||||
"Audio": "Áudio"
|
||||
}
|
Loading…
Reference in New Issue