From 4507d8b5882e283c3e634ff11aa64a85f38c0dc0 Mon Sep 17 00:00:00 2001 From: Ammar Githam Date: Mon, 29 Mar 2021 23:02:42 +0900 Subject: [PATCH] Handle unknown dm types. Fixes the crash in https://github.com/austinhuang0131/barinsta/issues/891 --- .../instagrabber/adapters/DirectItemsAdapter.java | 13 +++++++++++-- .../instagrabber/models/enums/DirectItemType.java | 4 ++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/awais/instagrabber/adapters/DirectItemsAdapter.java b/app/src/main/java/awais/instagrabber/adapters/DirectItemsAdapter.java index 9fa309f2..f28fb139 100644 --- a/app/src/main/java/awais/instagrabber/adapters/DirectItemsAdapter.java +++ b/app/src/main/java/awais/instagrabber/adapters/DirectItemsAdapter.java @@ -146,7 +146,12 @@ public final class DirectItemsAdapter extends RecyclerView.Adapter