From b11a56816923a80c36d5d6ca24770c37df8e470c Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Wed, 22 Dec 2021 20:36:52 +0800 Subject: Version 5.1.5. --- app/build.gradle | 4 ++-- .../java/ml/docilealligator/infinityforreddit/utils/APIUtils.java | 2 +- app/src/main/res/values/strings.xml | 1 - app/src/main/res/xml/download_location_preferences.xml | 3 +-- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 211b3206..da9cd0a3 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -6,8 +6,8 @@ android { applicationId "ml.docilealligator.infinityforreddit" minSdkVersion 21 targetSdkVersion 30 - versionCode 88 - versionName "5.1.4" + versionCode 89 + versionName "5.1.5" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" javaCompileOptions { annotationProcessorOptions { diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/utils/APIUtils.java b/app/src/main/java/ml/docilealligator/infinityforreddit/utils/APIUtils.java index 1623b551..72317b38 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/utils/APIUtils.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/utils/APIUtils.java @@ -44,7 +44,7 @@ public class APIUtils { public static final String AUTHORIZATION_KEY = "Authorization"; public static final String AUTHORIZATION_BASE = "bearer "; public static final String USER_AGENT_KEY = "User-Agent"; - public static final String USER_AGENT = "android:ml.docilealligator.infinityforreddit:v4.1.1 (by /u/Hostilenemy)"; + public static final String USER_AGENT = "android:ml.docilealligator.infinityforreddit:v5.1.5 (by /u/Hostilenemy)"; public static final String GRANT_TYPE_KEY = "grant_type"; public static final String GRANT_TYPE_REFRESH_TOKEN = "refresh_token"; diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 093c6213..cf7ea58e 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -518,7 +518,6 @@ Video Download Location Separate Folder for Each Subreddit Save NSFW Media in Different Location - Does not separate folder for NSFW media from different subreddits even if Separate Folder for Each Subreddit is enabled. NSFW Download Location Swipe Action Haptic Feedback diff --git a/app/src/main/res/xml/download_location_preferences.xml b/app/src/main/res/xml/download_location_preferences.xml index 3de56ef3..6745aecf 100644 --- a/app/src/main/res/xml/download_location_preferences.xml +++ b/app/src/main/res/xml/download_location_preferences.xml @@ -22,8 +22,7 @@ + app:title="@string/settings_save_nsfw_media_in_different_folder_title" />