From fce7cb05e737deee5be38f30507629fc96c1adc3 Mon Sep 17 00:00:00 2001 From: PaulStets Date: Thu, 21 Dec 2017 16:32:43 +0200 Subject: [PATCH] Refactoring --- OsmAnd/src/net/osmand/plus/liveupdates/ReportsFragment.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/liveupdates/ReportsFragment.java b/OsmAnd/src/net/osmand/plus/liveupdates/ReportsFragment.java index 1e7ff0d3bd..e6838776ed 100644 --- a/OsmAnd/src/net/osmand/plus/liveupdates/ReportsFragment.java +++ b/OsmAnd/src/net/osmand/plus/liveupdates/ReportsFragment.java @@ -270,8 +270,7 @@ public class ReportsFragment extends BaseOsmAndFragment implements CountrySelect } if (donationsTotalLayout != null && donationsTotalTextView != null) { - boolean world = regionUrlString.isEmpty(); - donationsTotalLayout.setVisibility(world ? View.VISIBLE : View.GONE); + donationsTotalLayout.setVisibility(regionUrlString.isEmpty() ? View.VISIBLE : View.GONE); donationsTotalTextView.setText(String.format("%.3f", response.btc*1000f) + " mBTC"); } }