diff options
author | Stefan Niedermann <info@niedermann.it> | 2020-07-13 20:00:15 +0300 |
---|---|---|
committer | Niedermann IT-Dienstleistungen <stefan-niedermann@users.noreply.github.com> | 2020-07-13 20:09:10 +0300 |
commit | c440d127248ceb175c2e7f0d97a9a5ae3acef8e0 (patch) | |
tree | ca16a694fe1accfb720f2f65ff03612df35edddd /app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterViewModel.java | |
parent | 6dd6a2d3bcb5cd57ddb9b7f41849ba15e3dfd007 (diff) |
#590 Add filter "unassigned cards"
Diffstat (limited to 'app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterViewModel.java')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterViewModel.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterViewModel.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterViewModel.java index cf8dc1754..121df3387 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterViewModel.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterViewModel.java @@ -66,6 +66,12 @@ public class FilterViewModel extends ViewModel { this.filterInformationDraft.postValue(newDraft); } + public void setNotAssignedUser(boolean notAssignedUser) { + FilterInformation newDraft = new FilterInformation(filterInformationDraft.getValue()); + newDraft.setNoAssignedUser(notAssignedUser); + this.filterInformationDraft.postValue(newDraft); + } + public void removeFilterInformationLabel(@NonNull Label label) { FilterInformation newDraft = new FilterInformation(filterInformationDraft.getValue()); newDraft.removeLabel(label); |