mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 15:38:28 +02:00
Support link/html in analytics prompt strings.
Show the new prompt to everyone, even if they previously opted out. Add docs to Analytics.
This commit is contained in:
@@ -37,8 +37,8 @@ class AnalyticsPromptViewModel: AnalyticsPromptViewModelType {
|
||||
// MARK: - Setup
|
||||
|
||||
/// Initialize a view model with the specified prompt type and app display name.
|
||||
init(promptType: AnalyticsPromptType, appDisplayName: String) {
|
||||
super.init(initialViewState: AnalyticsPromptViewState(promptType: promptType, appDisplayName: appDisplayName))
|
||||
init(promptType: AnalyticsPromptType, strings: AnalyticsPromptStringsProtocol) {
|
||||
super.init(initialViewState: AnalyticsPromptViewState(promptType: promptType, strings: strings))
|
||||
}
|
||||
|
||||
// MARK: - Public
|
||||
|
||||
Reference in New Issue
Block a user