Hide pull to refresh on cancel (#7946)

This commit is contained in:
NWuensche 2025-08-30 17:36:13 +00:00 committed by GitHub
parent e76f3fc774
commit acc2638f3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -119,6 +119,9 @@ public class FeedUpdateManagerImpl extends FeedUpdateManager {
UserPreferences.setAllowMobileFeedRefresh(true);
runOnce(context, feed);
})
.setOnCancelListener((d) -> {
EventBus.getDefault().postSticky(new FeedUpdateRunningEvent(false));
})
.setNegativeButton(R.string.no, (dialog, which) -> {
EventBus.getDefault().postSticky(new FeedUpdateRunningEvent(false));
});