aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordaneren2005 <daneren2005@gmail.com>2013-10-25 13:59:45 -0700
committerdaneren2005 <daneren2005@gmail.com>2013-10-25 13:59:45 -0700
commit8217d372ec94b22330e12809d0d9b086e8fbcd0b (patch)
tree73e16088fae20b30e3405a397e264d6e6816fbd8 /src
parent8eae024258e37b5cad467ffdb220c261461554eb (diff)
downloaddsub-8217d372ec94b22330e12809d0d9b086e8fbcd0b.tar.gz
dsub-8217d372ec94b22330e12809d0d9b086e8fbcd0b.tar.bz2
dsub-8217d372ec94b22330e12809d0d9b086e8fbcd0b.zip
Fix toggling between online/offline mode
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/fragments/MainFragment.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/fragments/MainFragment.java b/src/github/daneren2005/dsub/fragments/MainFragment.java
index 01dee95e..c28161f7 100644
--- a/src/github/daneren2005/dsub/fragments/MainFragment.java
+++ b/src/github/daneren2005/dsub/fragments/MainFragment.java
@@ -201,6 +201,7 @@ public class MainFragment extends SubsonicFragment {
private void toggleOffline() {
boolean isOffline = Util.isOffline(context);
Util.setOffline(context, !isOffline);
+ this.invalidate();
if(isOffline) {
int scrobblesCount = Util.offlineScrobblesCount(context);