diff --git a/app/build.gradle b/app/build.gradle
index d187594f..11bf08f6 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -11,8 +11,8 @@ android {
applicationId "fr.corenting.edcompanion"
minSdkVersion 19
targetSdkVersion 29
- versionCode 45
- versionName "2.8"
+ versionCode 46
+ versionName "2.8.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
diff --git a/app/src/main/java/fr/corenting/edcompanion/singletons/RetrofitSingleton.java b/app/src/main/java/fr/corenting/edcompanion/singletons/RetrofitSingleton.java
index cab18d51..551e28ee 100644
--- a/app/src/main/java/fr/corenting/edcompanion/singletons/RetrofitSingleton.java
+++ b/app/src/main/java/fr/corenting/edcompanion/singletons/RetrofitSingleton.java
@@ -140,6 +140,7 @@ public FrontierRetrofit getFrontierRetrofit(Context ctx) {
// Retry request
OAuthUtils.storeUpdatedTokens(ctx, responseBody.AccessToken,
responseBody.RefreshToken);
+ response.close();
request = OAuthUtils.getRequestWithFrontierAuthorization(ctx, chain);
response = chain.proceed(request);
}
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 73333f23..882f990e 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -343,9 +343,9 @@
Changelog
Version 2.8
+ Version 2.8.1
- - Add "News" tab for non-Galnet news
+ - Fix crash when using Frontier account
]]>