Skip to content

Commit

Permalink
Fixed remove items without edit mode
Browse files Browse the repository at this point in the history
  • Loading branch information
italankin committed Dec 26, 2023
1 parent cb7e0c2 commit 1121ff0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ public void onError(Throwable e) {
void removeItemImmediate(RemovableDescriptorUi item) {
DescriptorRepository.Editor editor = descriptorRepository.edit();
String descriptorId = item.getDescriptor().getId();
editModeState.addAction(new RemoveAction(descriptorId));
editor.enqueue(new RemoveAction(descriptorId));
editor.commit()
.subscribeOn(Schedulers.io())
.subscribe(new CompletableState() {
Expand Down

0 comments on commit 1121ff0

Please sign in to comment.