mirror of
https://github.com/KokaKiwi/BarInsta
synced 2025-12-12 06:56:31 +00:00
stop notification toast
This commit is contained in:
parent
4a439f74eb
commit
ae058813e0
1 changed files with 1 additions and 5 deletions
|
|
@ -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) {
|
if (result == null || notificationManager == null) {
|
||||||
Toast.makeText(Main.this, R.string.downloader_unknown_error, Toast.LENGTH_SHORT).show();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (notificationManager == null) {
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
final List<String> list = new ArrayList<>();
|
final List<String> list = new ArrayList<>();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue