Skip to content

Commit 1deeeaa

Browse files
committed
UA snippet update
1 parent 47b61f6 commit 1deeeaa

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

versioned_docs/version-3.0/user-acquisition.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -259,16 +259,16 @@ Adapty.GetCurrentInstallationStatus((status, error) => {
259259
return;
260260
}
261261

262-
switch (status.Status) {
263-
case AdaptyInstallationStatusType.NotAvailable:
262+
switch (status) {
263+
case AdaptyInstallationStatusNotAvailable notAvailable:
264264
// Installation details are not available on this device
265265
break;
266-
case AdaptyInstallationStatusType.NotDetermined:
266+
case AdaptyInstallationStatusNotDetermined notDetermined:
267267
// Installation details have not been determined yet
268268
break;
269-
case AdaptyInstallationStatusType.Determined:
269+
case AdaptyInstallationStatusDetermined determined:
270270
// Use the installation details
271-
var details = status.Details;
271+
var details = determined.Details;
272272
break;
273273
}
274274
});

0 commit comments

Comments
 (0)