Commit 2d5971b
committed
Fix: Align dialog buttons to the end and update version
This commit addresses an issue with the alignment of buttons within the `PersianDatePickerDialog` and increments the library version.
**Key Changes:**
- **Dialog Button Alignment:**
- In `PersianDatePickerDialog.kt`, the `Row` containing the dismiss and confirm buttons now uses `Modifier.fillMaxWidth()` and `horizontalArrangement = Arrangement.End`. This ensures the buttons are aligned to the end (right side in LTR, left side in RTL) of the dialog, consistent with common dialog design patterns.
- The `Arrangement.spacedBy(DialogButtonsMainAxisSpacing)` was removed as `Arrangement.End` handles the spacing in this context.
- **Version Update:**
- The library version in `library/build.gradle.kts` has been incremented from `0.0.12-beta1` to `0.0.12-beta2`.
- **Added Screenshots:**
- New screenshots have been added to the `screenshots` directory:
- `Screenshot From 2025-10-01 05-47-22.png`
- `Screenshot From 2025-10-01 05-47-27.png`
- `Screenshot From 2025-10-01 05-47-37.png`
- `Screenshot From 2025-10-01 05-47-49.png`
These changes improve the visual consistency of the dialog and prepare for a new beta release.1 parent 49c3d85 commit 2d5971b
File tree
6 files changed
+4
-5
lines changed- library
- src/commonMain/kotlin/io/github/faridsolgi/view
- screenshots
6 files changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 78 | + | |
| 79 | + | |
81 | 80 | | |
82 | 81 | | |
83 | 82 | | |
| |||
Loading
Loading
Loading
Loading
0 commit comments