From d3d4da2e0c7472978a29858c9c7e3852b632c820 Mon Sep 17 00:00:00 2001 From: Denis Date: Mon, 12 Jan 2015 13:05:36 +0200 Subject: [PATCH] Removed bad code --- .../src/net/osmand/plus/dashboard/DashFavoritesFragment.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/dashboard/DashFavoritesFragment.java b/OsmAnd/src/net/osmand/plus/dashboard/DashFavoritesFragment.java index ab22ff2282..1ab66b2c07 100644 --- a/OsmAnd/src/net/osmand/plus/dashboard/DashFavoritesFragment.java +++ b/OsmAnd/src/net/osmand/plus/dashboard/DashFavoritesFragment.java @@ -258,9 +258,6 @@ public class DashFavoritesFragment extends DashBaseFragment implements Favourite @Override public void updateFavourites() { - if (getActivity() == null) { - return; - } getActivity().runOnUiThread(new Runnable() { @Override public void run() {