summaryrefslogtreecommitdiff
path: root/app/src/main/java/de/danoeh/antennapod/dialog
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2024-01-02 20:18:20 +0100
committerGitHub <noreply@github.com>2024-01-02 20:18:20 +0100
commit4a782e457ccde553d82f4627514c060d9083a94c (patch)
tree66b05937b1a2521bf1742a159bcc595c27740f50 /app/src/main/java/de/danoeh/antennapod/dialog
parentc5093c9ff92c1ffba3b886f52541631fd9b554f8 (diff)
downloadAntennaPod-4a782e457ccde553d82f4627514c060d9083a94c.zip
Update queue list when toggling 'keep sorted' (#6853)
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/dialog')
-rw-r--r--app/src/main/java/de/danoeh/antennapod/dialog/ItemSortDialog.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/dialog/ItemSortDialog.java b/app/src/main/java/de/danoeh/antennapod/dialog/ItemSortDialog.java
index 3090dd6a5..cd6cc4b0a 100644
--- a/app/src/main/java/de/danoeh/antennapod/dialog/ItemSortDialog.java
+++ b/app/src/main/java/de/danoeh/antennapod/dialog/ItemSortDialog.java
@@ -27,6 +27,8 @@ public class ItemSortDialog extends BottomSheetDialogFragment {
@Nullable Bundle savedInstanceState) {
viewBinding = SortDialogBinding.inflate(inflater);
populateList();
+ viewBinding.keepSortedCheckbox.setOnCheckedChangeListener(
+ (buttonView, isChecked) -> ItemSortDialog.this.onSelectionChanged());
return viewBinding.getRoot();
}