mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-10-29 11:49:33 +00:00
Hide pull to refresh on cancel (#7946)
This commit is contained in:
parent
e76f3fc774
commit
acc2638f3b
@ -119,6 +119,9 @@ public class FeedUpdateManagerImpl extends FeedUpdateManager {
|
|||||||
UserPreferences.setAllowMobileFeedRefresh(true);
|
UserPreferences.setAllowMobileFeedRefresh(true);
|
||||||
runOnce(context, feed);
|
runOnce(context, feed);
|
||||||
})
|
})
|
||||||
|
.setOnCancelListener((d) -> {
|
||||||
|
EventBus.getDefault().postSticky(new FeedUpdateRunningEvent(false));
|
||||||
|
})
|
||||||
.setNegativeButton(R.string.no, (dialog, which) -> {
|
.setNegativeButton(R.string.no, (dialog, which) -> {
|
||||||
EventBus.getDefault().postSticky(new FeedUpdateRunningEvent(false));
|
EventBus.getDefault().postSticky(new FeedUpdateRunningEvent(false));
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user