From 1f61926108e25a955cbf5619861d06821c9af9a6 Mon Sep 17 00:00:00 2001 From: stamatiap Date: Sat, 1 May 2021 10:39:27 +0300 Subject: [PATCH] add default case to switch statement - issue #1101 --- .../awais/instagrabber/fragments/StoryViewerFragment.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/java/awais/instagrabber/fragments/StoryViewerFragment.java b/app/src/main/java/awais/instagrabber/fragments/StoryViewerFragment.java index c6788dfa..9a02816f 100644 --- a/app/src/main/java/awais/instagrabber/fragments/StoryViewerFragment.java +++ b/app/src/main/java/awais/instagrabber/fragments/StoryViewerFragment.java @@ -458,6 +458,10 @@ public class StoryViewerFragment extends Fragment { //No button clicked dialog.dismiss(); break; + + default: + dialog.dismiss(); + break; } } };