Browse Source

stop notification toast

legacy
Austin Huang 4 years ago
parent
commit
ae058813e0
No known key found for this signature in database GPG Key ID: 84C23AA04587A91F
  1. 6
      app/src/main/java/awais/instagrabber/activities/Main.java

6
app/src/main/java/awais/instagrabber/activities/Main.java

@ -263,11 +263,7 @@ public final class Main extends BaseLanguageActivity {
handler = new Handler(); handler = new Handler();
runnable = () -> { runnable = () -> {
final GetActivityAsyncTask activityAsyncTask = new GetActivityAsyncTask(uid, cookie, result -> { final GetActivityAsyncTask activityAsyncTask = new GetActivityAsyncTask(uid, cookie, result -> {
if (result == null) {
Toast.makeText(Main.this, R.string.downloader_unknown_error, Toast.LENGTH_SHORT).show();
return;
}
if (notificationManager == null) {
if (result == null || notificationManager == null) {
return; return;
} }
final List<String> list = new ArrayList<>(); final List<String> list = new ArrayList<>();

Loading…
Cancel
Save