From f9fd62db097859e7a85416916039eba3dc59f18a Mon Sep 17 00:00:00 2001 From: Grishka Date: Mon, 1 Jul 2024 00:56:39 +0300 Subject: [PATCH] Fix for a crash that resulted from a previous crash fix --- mastodon/build.gradle | 2 +- .../joinmastodon/android/api/session/AccountSessionManager.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mastodon/build.gradle b/mastodon/build.gradle index c42242990..9f3fe615a 100644 --- a/mastodon/build.gradle +++ b/mastodon/build.gradle @@ -13,7 +13,7 @@ android { applicationId "org.joinmastodon.android" minSdk 23 targetSdk 33 - versionCode 106 + versionCode 107 versionName "2.5.4" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/mastodon/src/main/java/org/joinmastodon/android/api/session/AccountSessionManager.java b/mastodon/src/main/java/org/joinmastodon/android/api/session/AccountSessionManager.java index b108baa72..e38434527 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/api/session/AccountSessionManager.java +++ b/mastodon/src/main/java/org/joinmastodon/android/api/session/AccountSessionManager.java @@ -388,7 +388,7 @@ public class AccountSessionManager{ } if(!loadedInstances){ loadedInstances=true; - maybeUpdateCustomEmojis(domains); + MastodonAPIController.runInBackground(()->maybeUpdateCustomEmojis(domains)); } }