]> git.ktnx.net Git - mobile-ledger.git/commitdiff
use post..() instead of set..() from a background thread
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 22 Aug 2021 17:05:10 +0000 (20:05 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 22 Aug 2021 17:05:10 +0000 (20:05 +0300)
app/src/main/java/net/ktnx/mobileledger/async/ConfigReader.java

index a0d66a221a31445c8ee59086a384c2b6e0e5d738..16b9ac24527608e792c00892c7ff587ccf99abae 100644 (file)
@@ -97,7 +97,7 @@ public class ConfigReader extends ConfigIO {
                           .getProfileDAO()
                           .getByUuidSync(currentProfile);
             if (p != null)
-                Data.setCurrentProfile(p);
+                Data.postCurrentProfile(p);
         }
 
         if (onDoneListener != null)