Browse Source

Merge pull request #934 from nextcloud/fix-push-refactor-leftover

Fix leftover
Andy Scherzinger 8 năm trước cách đây
mục cha
commit
68e15fc65e

+ 1 - 1
src/modified/java/com/owncloud/android/utils/PushUtils.java

@@ -156,7 +156,7 @@ public class PushUtils {
                 if (!TextUtils.isEmpty(arbitraryValue = arbitraryDataProvider.getValue(account, KEY_PUSH))) {
                     Gson gson = new Gson();
                     PushConfigurationState pushArbitraryData = gson.fromJson(arbitraryValue,
-                            PushArbitraryData.class);
+                            PushConfigurationState.class);
                     RemoteOperation unregisterAccountDeviceForProxyOperation =
                             new UnregisterAccountDeviceForProxyOperation(context.getResources().
                                     getString(R.string.push_server_url),