Skip to content

Commit 34d15d4

Browse files
committed
INTENG-7695 clarify enum name
1 parent 766f456 commit 34d15d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Branch-SDK/Branch-SDK/Networking/Requests/BranchOpenRequest.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,12 @@ typedef NS_ENUM(NSInteger, BNCUpdateState) {
107107
// BNCUpdateStateError = 3, // Error determining update state.
108108
// BNCUpdateStateReinstall = 4, // App was re-installed.
109109

110-
BNCUpdateStateUnknown = 0, // App update status is unknown
110+
BNCUpdateStateIgnored = 0, // Values 0-4 are ignored by the server
111111
BNCUpdateStateTuneMigration = 5 // App was migrated from Tune SDK to Branch SDK
112112
};
113113

114114
+ (NSNumber *)appUpdateState {
115-
BNCUpdateState update_state = BNCUpdateStateUnknown;
115+
BNCUpdateState update_state = BNCUpdateStateIgnored;
116116
if ([BNCTuneUtility isTuneDataPresent]) {
117117
update_state = BNCUpdateStateTuneMigration;
118118
}

0 commit comments

Comments
 (0)