Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/FormbricksSDK/WebView/FormbricksViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ private class WebViewData {

init(environmentResponse: EnvironmentResponse, surveyId: String) {
data["survey"] = environmentResponse.getSurveyJson(forSurveyId: surveyId)
data["isBrandingEnabled"] = true
data["appUrl"] = Formbricks.appUrl
data["environmentId"] = Formbricks.environmentId
data["contactId"] = Formbricks.userManager?.contactId
data["isWebEnvironment"] = false
data["isBrandingEnabled"] = environmentResponse.data.data.project.inAppSurveyBranding ?? true
Comment thread
pandeymangg marked this conversation as resolved.

let isMultiLangSurvey = environmentResponse.data.data.surveys?.first(where: { $0.id == surveyId })?.languages?.count ?? 0 > 1

Expand Down