1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-22 22:57:29 +00:00

chore/cleanup

This commit is contained in:
Austin Huang 2021-01-05 23:37:16 -05:00
parent 7b07361a26
commit c8dda21f9f
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F

View File

@ -123,11 +123,6 @@ public final class Utils {
return mimeType.startsWith("image"); return mimeType.startsWith("image");
} }
public static void errorFinish(@NonNull final Activity activity) {
Toast.makeText(activity, R.string.downloader_unknown_error, Toast.LENGTH_SHORT).show();
activity.finish();
}
public static SimpleCache getSimpleCacheInstance(final Context context) { public static SimpleCache getSimpleCacheInstance(final Context context) {
if (context == null) { if (context == null) {
return null; return null;