[Android] Always update emptyview on favs update
Geoffrey Métais
git at videolan.org
Thu Feb 9 13:35:27 CET 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Feb 9 10:50:12 2017 +0100| [07ff38ef24e5c9c5b872106c0e14a73094908d21] | committer: Geoffrey Métais
Always update emptyview on favs update
> https://code.videolan.org/videolan/vlc-android/commit/07ff38ef24e5c9c5b872106c0e14a73094908d21
---
.../src/org/videolan/vlc/gui/browser/NetworkBrowserFragment.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/browser/NetworkBrowserFragment.java b/vlc-android/src/org/videolan/vlc/gui/browser/NetworkBrowserFragment.java
index e31cc4c..ef4cbce 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/NetworkBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/NetworkBrowserFragment.java
@@ -193,8 +193,7 @@ public class NetworkBrowserFragment extends BaseBrowserFragment {
mFavorites = newSize; //update count
if (newSize != 0)
mHandler.sendEmptyMessage(BrowserFragmentHandler.MSG_HIDE_LOADING);
- else
- updateEmptyView();
+ updateEmptyView();
}
public void toggleFavorite() {
More information about the Android
mailing list