From 945acda968d2e989e33e326500d9021e8e2adf53 Mon Sep 17 00:00:00 2001 From: Ludovic PINEL Date: Thu, 20 Jun 2024 15:18:36 +0200 Subject: [PATCH] Update more apps module and changelog" --- CHANGELOG.md | 1 + .../OrangeDesignSystem/Modules/MoreApps/ODSMoreAppsView.swift | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e8b8984..4d5b8105 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- [SDK] Update More Apps to use ListItems with subtile on two lines ([#651](https://github.com/Orange-OpenSource/ods-ios/issues/651)) - [Doc] Wrong name of MoreApprs module in documentation ([#815](https://github.com/Orange-OpenSource/ods-ios/issues/815)) - [Doc] Update components and modules documentation to add a description of the API ([#759](https://github.com/Orange-OpenSource/ods-ios/issues/759)) - [DemoApp/SDK] Rename "Recirculation" module to "MoreApps", and use "EmptyState" assets from Theme bundle ([#801](https://github.com/Orange-OpenSource/ods-ios/issues/801)) diff --git a/OrangeDesignSystem/Sources/OrangeDesignSystem/Modules/MoreApps/ODSMoreAppsView.swift b/OrangeDesignSystem/Sources/OrangeDesignSystem/Modules/MoreApps/ODSMoreAppsView.swift index 4aa8b668..3bc6e833 100644 --- a/OrangeDesignSystem/Sources/OrangeDesignSystem/Modules/MoreApps/ODSMoreAppsView.swift +++ b/OrangeDesignSystem/Sources/OrangeDesignSystem/Modules/MoreApps/ODSMoreAppsView.swift @@ -155,8 +155,8 @@ public struct ODSMoreAppsView: View { private func listItem(for app: MoreAppsAppDetails) -> some View { let item = ODSListItem(title: Text(app.title), subtitle: app.description != nil ? Text(app.description!) : nil, + subtitleNumberOfLines: .two, leading: leadingAppIcon(from: app)) - .lineLimit(3) // 3 lines asked .accessibilityChildren { Text(app.title) if let description = app.description {