Skip to content

Commit

Permalink
Add additional UI customization settings for BlinkID overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
mparadina committed Sep 21, 2023
1 parent 8993f7e commit 3ebb7b4
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,27 @@ -(MBOverlayViewController *) createOverlayViewController:(NSDictionary *)jsonOve
sett.errorMandatoryFieldMissing = (NSString *)errorMandatoryFieldMissing;
}
}

{
id showOnboardingInfo = [jsonOverlaySettings valueForKey:@"showOnboardingInfo"];
if (showOnboardingInfo != nil) {
sett.showOnboardingInfo = [showOnboardingInfo boolValue];
}
}

{
id showIntroductionDialog = [jsonOverlaySettings valueForKey:@"showIntroductionDialog"];
if (showIntroductionDialog != nil) {
sett.showIntroductionDialog = [showIntroductionDialog boolValue];
}
}

{
id onboardingButtonTooltipDelay = [jsonOverlaySettings valueForKey:@"onboardingButtonTooltipDelay"];
if (onboardingButtonTooltipDelay != nil) {
sett.onboardingButtonTooltipDelay = [onboardingButtonTooltipDelay doubleValue] / 10000.0;
}
}

return [[MBBlinkIdOverlayViewController alloc] initWithSettings:sett recognizerCollection:recognizerCollection delegate:self];
}
Expand Down

0 comments on commit 3ebb7b4

Please sign in to comment.