1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-12-22 21:16:57 +00:00

stop notification toast

This commit is contained in:
Austin Huang 2020-08-22 17:09:36 -04:00
parent 4a439f74eb
commit ae058813e0
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F

View File

@ -263,11 +263,7 @@ public final class Main extends BaseLanguageActivity {
handler = new Handler();
runnable = () -> {
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;
}
final List<String> list = new ArrayList<>();