mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-22 22:57:29 +00:00
chore/cleanup
This commit is contained in:
parent
7b07361a26
commit
c8dda21f9f
@ -123,11 +123,6 @@ public final class Utils {
|
||||
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) {
|
||||
if (context == null) {
|
||||
return null;
|
||||
|
Loading…
Reference in New Issue
Block a user