DEV: Export imageNameFromFileName

This commit is contained in:
Dan Ungureanu 2019-12-09 18:19:55 +02:00
parent 78d67f34f9
commit 34ccd9ecbb
No known key found for this signature in database
GPG Key ID: 0AA2A00D6ACC8B84
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ function isGUID(value) {
);
}
function imageNameFromFileName(fileName) {
export function imageNameFromFileName(fileName) {
let name = fileName.substr(0, fileName.lastIndexOf("."));
if (isAppleDevice() && isGUID(name)) {