Skip to content

Commit

Permalink
Add powered by to leave queue alert
Browse files Browse the repository at this point in the history
This commit syncs the leave queue alert to how Android works. Also, the end
engagement alert now uses the `showsPoweredBy` variable. This means that it will
now respect the global setting rather than always setting it as yes. This would
bring issues if a client pays for hiding powered by, as it would be wrongly
shown in that case.

MOB-2742
  • Loading branch information
gersonnoboa committed Oct 11, 2023
1 parent f766393 commit f651c97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GliaWidgets/Sources/Theme/Theme+AlertConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ extension Theme {
negativeTitle: Localization.General.no,
positiveTitle: Localization.General.yes,
switchButtonBackgroundColors: true,
showsPoweredBy: false
showsPoweredBy: showsPoweredBy
)
let endEngagement = ConfirmationAlertConfiguration(
title: Localization.Engagement.End.Confirmation.header,
message: Localization.Engagement.End.message,
negativeTitle: Localization.General.no,
positiveTitle: Localization.General.yes,
switchButtonBackgroundColors: true,
showsPoweredBy: true
showsPoweredBy: showsPoweredBy
)
let operatorEndedEngagement = SingleActionAlertConfiguration(
title: Localization.Engagement.Ended.header,
Expand Down

0 comments on commit f651c97

Please sign in to comment.