Skip to content

Commit

Permalink
[#618] Change illustration alignment for slider and text field compon…
Browse files Browse the repository at this point in the history
…ents
  • Loading branch information
paulinea committed Oct 5, 2023
1 parent c0dacba commit b047817
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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(
Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b047817

Please sign in to comment.