Added run on ui thread

This commit is contained in:
Denis 2015-01-10 12:25:16 +02:00
parent 9c8aa3300c
commit fe65fc3ce8

View file

@ -258,6 +258,14 @@ public class DashFavoritesFragment extends DashBaseFragment implements Favourite
@Override
public void updateFavourites() {
if (getActivity() == null) {
return;
}
getActivity().runOnUiThread(new Runnable() {
@Override
public void run() {
setupFavorites();
}
});
}
}