diff options
author | daneren2005 <daneren2005@gmail.com> | 2013-10-25 13:59:45 -0700 |
---|---|---|
committer | daneren2005 <daneren2005@gmail.com> | 2013-10-25 13:59:45 -0700 |
commit | 8217d372ec94b22330e12809d0d9b086e8fbcd0b (patch) | |
tree | 73e16088fae20b30e3405a397e264d6e6816fbd8 /src | |
parent | 8eae024258e37b5cad467ffdb220c261461554eb (diff) | |
download | dsub-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.java | 1 |
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);
|