From b96478c248d0773f0e9cd97903cf1d1bc61098a2 Mon Sep 17 00:00:00 2001 From: Nikita Semenov Date: Mon, 25 Jul 2022 15:53:38 +0300 Subject: [PATCH] fix: dialogue type alert actions' styles --- TIUIElements/Sources/Alerts/Factories/AlertFactory.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TIUIElements/Sources/Alerts/Factories/AlertFactory.swift b/TIUIElements/Sources/Alerts/Factories/AlertFactory.swift index 6f5d88b6..79c62efc 100644 --- a/TIUIElements/Sources/Alerts/Factories/AlertFactory.swift +++ b/TIUIElements/Sources/Alerts/Factories/AlertFactory.swift @@ -123,8 +123,8 @@ open class AlertFactory { message: message, tintColor: tint, actions: [ - .init(title: localizationProvider.yesTitle, style: .destructive, action: yesAction), - .init(title: localizationProvider.noTitle, action: noAction) + .init(title: localizationProvider.yesTitle, action: yesAction), + .init(title: localizationProvider.noTitle, style: .destructive, action: noAction) ]) } }