]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfileDetailFragment.java
force profile observer notification when current profile is saved
[mobile-ledger.git] / app / src / main / java / net / ktnx / mobileledger / ui / profiles / ProfileDetailFragment.java
index 91780c71b4dbec9a29d1e0f115a45c1c117e3053..39b639f5ff361b9b151c287b8aae832eaabf4549 100644 (file)
@@ -167,7 +167,7 @@ public class ProfileDetailFragment extends Fragment implements HueRingDialog.Hue
 
                 if (mProfile.getUuid().equals(Data.profile.get().getUuid())) {
                     // dummy update to notify the observers of the possibly new name/URL
-                    Data.profile.set(mProfile);
+                    Data.profile.forceNotifyObservers();
                 }
             }
             else {