Skip to content

Commit 9fa6a49

Browse files
committed
Fix diffing of device so as not to lose custom data
1 parent d6b5d47 commit 9fa6a49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Apptentive/Apptentive/Engagement/Model/ApptentiveConversation.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ - (void)checkForDiffs {
196196
}
197197

198198
// See if any of the non-custom device attributes have changed
199-
_device = [[ApptentiveDevice alloc] initWithCurrentDevice];
199+
[self.device updateWithCurrentDeviceValues];
200200

201201
[self checkForDeviceDiffs];
202202
}

0 commit comments

Comments
 (0)