DescriptionBefore this, changes to Prefs.notificationdata were never changed, since the object that was changed was actually defaults.notificationdata. Since objects aren't saved if they are identical to their default value, notificationdata was never changed at all.
The best solution I could come up with was duplicate the default value and cache it, so that subsequent assignments don't overwrite prior ones.
Patch Set 1 #
Total comments: 4
MessagesTotal messages: 2
|