From 8217d372ec94b22330e12809d0d9b086e8fbcd0b Mon Sep 17 00:00:00 2001 From: daneren2005 Date: Fri, 25 Oct 2013 13:59:45 -0700 Subject: Fix toggling between online/offline mode --- src/github/daneren2005/dsub/fragments/MainFragment.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/github/daneren2005') 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); -- cgit v1.2.3