From 85953352b93592c88d637f3f8121df98d340ce11 Mon Sep 17 00:00:00 2001 From: Austin Huang Date: Thu, 18 Mar 2021 14:37:29 -0400 Subject: [PATCH] close #813 --- app/src/main/java/awais/instagrabber/utils/UserAgentUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/awais/instagrabber/utils/UserAgentUtils.java b/app/src/main/java/awais/instagrabber/utils/UserAgentUtils.java index 2113d4af..f3c0bd1b 100644 --- a/app/src/main/java/awais/instagrabber/utils/UserAgentUtils.java +++ b/app/src/main/java/awais/instagrabber/utils/UserAgentUtils.java @@ -75,7 +75,7 @@ public class UserAgentUtils { @NonNull public static String generateBrowserUA(final int code) { - return browsers[code - 1]; + return browsers[code]; } @NonNull