Simplify boolean expressions

This commit is contained in:
addshore 2017-05-13 13:01:45 +02:00
parent f019aa2865
commit 5fe95813df
3 changed files with 3 additions and 3 deletions

View file

@ -113,7 +113,7 @@ public class ShareActivity
Toast startingToast = Toast.makeText(getApplicationContext(), R.string.uploading_started, Toast.LENGTH_LONG);
startingToast.show();
if (cacheFound == false) {
if (!cacheFound) {
//Has to be called after apiCall.request()
app.cacheData.cacheCategory();
Timber.d("Cache the categories found");