1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-12-23 13:26:59 +00:00
This commit is contained in:
Austin Huang 2020-11-13 18:44:33 -05:00
parent ecc60cc0cd
commit ce2a74554e
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F

View File

@ -176,7 +176,7 @@ public final class DownloadUtils {
Pattern.matches("[a-zA-Z_0-9.\\-()%]+", filename)) { Pattern.matches("[a-zA-Z_0-9.\\-()%]+", filename)) {
int dotPos = filename.lastIndexOf('.'); int dotPos = filename.lastIndexOf('.');
if (0 <= dotPos) { if (0 <= dotPos) {
return filename.substring(dotPos + 1); return filename.substring(dotPos);
} }
} }
} }