-
Notifications
You must be signed in to change notification settings - Fork 283
Task/14371 Developer Menu: SRS Options #4909
Conversation
src/xcode/ENA/ENA/Source/Developer Menu/Helper/DMMenuItem.swift
Outdated
Show resolved
Hide resolved
Co-authored-by: Naveed Khalid <nkhalid.here@gmail.com>
@@ -61,7 +61,7 @@ final class MockTestStore: Store, PPAnalyticsData { | |||
var mostRecentRiskCalculationConfiguration: RiskCalculationConfiguration? | |||
var forceAPITokenAuthorization = false | |||
var recentTraceLocationCheckedInto: DMRecentTraceLocationCheckedInto? | |||
var isSrsPrechecksEnabled = false | |||
var dmIsSRSPreChecksEnabled = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't know if this naming is consistent with our approach
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@30mar what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think isSrsPrechecksEnabled is fine as it was, we use flags for dev menus without adding the dm part.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, renamed it to isSrsPrechecksEnabled
@@ -41,7 +56,7 @@ struct SRSConsentViewModel { | |||
UIImage(imageLiteralResourceName: "SRS-Warn-Others-icon"), | |||
text: .string(String( | |||
format: AppStrings.SRSConsentScreen.instruction2, | |||
"90" // to.do fetch the number from app config | |||
String(timeBetweenSubmissionsInDays) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
Description
Link to Jira
https://jira-ibs.wbs.net.sap/browse/EXPOSUREAPP-14371
Screenshots