From b047817c87c8fc959732c8987d28f70f81009dd0 Mon Sep 17 00:00:00 2001 From: Pauline Auvray Date: Thu, 5 Oct 2023 11:33:36 +0200 Subject: [PATCH] [#618] Change illustration alignment for slider and text field components --- .../main/java/com/orange/ods/app/ui/components/Component.kt | 6 ++---- changelog.md | 6 ++++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/com/orange/ods/app/ui/components/Component.kt b/app/src/main/java/com/orange/ods/app/ui/components/Component.kt index 807eb32ed..3cbd997ac 100644 --- a/app/src/main/java/com/orange/ods/app/ui/components/Component.kt +++ b/app/src/main/java/com/orange/ods/app/ui/components/Component.kt @@ -235,8 +235,7 @@ sealed class Component( null, R.string.component_sliders_description, composableName = OdsComposable.OdsSlider.name, - demoScreen = { _, _ -> ComponentSliders() }, - imageAlignment = Alignment.CenterEnd + demoScreen = { _, _ -> ComponentSliders() } ) object Snackbars : Component( @@ -263,8 +262,7 @@ sealed class Component( R.drawable.il_text_fields_small, R.string.component_text_fields_description, listOf(Variant.TextField, Variant.TextFieldPassword), - demoScreen = { variant, _ -> if (variant != null) ComponentTextField(variant = variant) }, - imageAlignment = Alignment.CenterEnd + demoScreen = { variant, _ -> if (variant != null) ComponentTextField(variant = variant) } ) object Tabs : Component( diff --git a/changelog.md b/changelog.md index 31dcc46ce..26f476175 100644 --- a/changelog.md +++ b/changelog.md @@ -5,6 +5,12 @@ All notable changes done in ODS library will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +# [Unreleased](https://github.com/Orange-OpenSource/ods-android/compare/0.15.1...develop) + +### Changed + +- \[App\] Change illustrations alignment for slider and text field components ([#618](https://github.com/Orange-OpenSource/ods-android/issues/618)) + ## [0.15.1](https://github.com/Orange-OpenSource/ods-android/compare/0.15.0...0.15.1) - 2023-09-28 ### Changed