X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fjava%2Fnet%2Fktnx%2Fmobileledger%2Fasync%2FUpdateTransactionsTask.java;h=404e5127b4fdaa061399802dcc097d66d8a04e71;hp=ab114531b9e78ad711fe013cc7f6fd525c7f926f;hb=0ce370cea3c5c980b6eeb14acf965188ae951f51;hpb=55ec17266ef8c6955fe1a29a44986497456762f1 diff --git a/app/src/main/java/net/ktnx/mobileledger/async/UpdateTransactionsTask.java b/app/src/main/java/net/ktnx/mobileledger/async/UpdateTransactionsTask.java index ab114531..404e5127 100644 --- a/app/src/main/java/net/ktnx/mobileledger/async/UpdateTransactionsTask.java +++ b/app/src/main/java/net/ktnx/mobileledger/async/UpdateTransactionsTask.java @@ -34,9 +34,7 @@ import static net.ktnx.mobileledger.utils.Logger.debug; public class UpdateTransactionsTask extends AsyncTask { protected String doInBackground(String[] filterAccName) { - final MobileLedgerProfile profile = Data.profile.getValue(); - if (profile == null) - return "Profile not configured"; + final MobileLedgerProfile profile = Data.getProfile(); String profile_uuid = profile.getUuid(); Data.backgroundTaskStarted();