From 50be372291c23374d2b3ed2180be7b490ff72b04 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Fri, 1 Mar 2024 16:59:07 +0400 Subject: [PATCH 1/2] Fix business entry ids --- submodules/PremiumUI/Sources/PremiumIntroScreen.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/submodules/PremiumUI/Sources/PremiumIntroScreen.swift b/submodules/PremiumUI/Sources/PremiumIntroScreen.swift index 11e56087a19..f820200f190 100644 --- a/submodules/PremiumUI/Sources/PremiumIntroScreen.swift +++ b/submodules/PremiumUI/Sources/PremiumIntroScreen.swift @@ -562,9 +562,9 @@ public enum PremiumPerk: CaseIterable { case .businessQuickReplies: return "quick_replies" case .businessGreetingMessage: - return "greeting_messages" + return "greeting_message" case .businessAwayMessage: - return "away_messages" + return "away_message" case .businessChatBots: return "chatbots" } From 79ac0a6c5f4fa147e40987b8dc43bc6932e93e64 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Fri, 1 Mar 2024 18:03:58 +0400 Subject: [PATCH 2/2] Fix business entry ids --- submodules/PremiumUI/Sources/PremiumIntroScreen.swift | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/submodules/PremiumUI/Sources/PremiumIntroScreen.swift b/submodules/PremiumUI/Sources/PremiumIntroScreen.swift index f820200f190..7af14917a30 100644 --- a/submodules/PremiumUI/Sources/PremiumIntroScreen.swift +++ b/submodules/PremiumUI/Sources/PremiumIntroScreen.swift @@ -556,9 +556,9 @@ public enum PremiumPerk: CaseIterable { case .business: return "business" case .businessLocation: - return "location" + return "business_location" case .businessHours: - return "opening_hours" + return "business_hours" case .businessQuickReplies: return "quick_replies" case .businessGreetingMessage: @@ -566,7 +566,7 @@ public enum PremiumPerk: CaseIterable { case .businessAwayMessage: return "away_message" case .businessChatBots: - return "chatbots" + return "business_bots" } } @@ -847,9 +847,6 @@ struct PremiumIntroConfiguration { businessPerks = [] break } - } else { - businessPerks = [] - break } } }