From 047042cd1a935d5a66eaee49e4ebac374db211a2 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sun, 22 Aug 2021 20:05:10 +0300 Subject: [PATCH] use post..() instead of set..() from a background thread --- app/src/main/java/net/ktnx/mobileledger/async/ConfigReader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/net/ktnx/mobileledger/async/ConfigReader.java b/app/src/main/java/net/ktnx/mobileledger/async/ConfigReader.java index a0d66a22..16b9ac24 100644 --- a/app/src/main/java/net/ktnx/mobileledger/async/ConfigReader.java +++ b/app/src/main/java/net/ktnx/mobileledger/async/ConfigReader.java @@ -97,7 +97,7 @@ public class ConfigReader extends ConfigIO { .getProfileDAO() .getByUuidSync(currentProfile); if (p != null) - Data.setCurrentProfile(p); + Data.postCurrentProfile(p); } if (onDoneListener != null) -- 2.39.5