[Hot Fix]Release 2025-06-21
Changes
Summary
This pull request introduces two key improvements to the editing screen's UI. Firstly, it fixes an issue where certain UI elements, such as icons and text, did not correctly adapt to the application's theme, causing visibility problems in dark mode. Secondly, it modifies the behavior of the modal bottom sheet containing the editing controls to prevent it from being accidentally dismissed by the user.
Detailed Changes
-
Theming and Color Correction:
- Explicitly set the
colorof the descriptive text inSliderWithCaptiontoMaterialTheme.colorScheme.onSurfaceto ensure it respects the current theme. - Applied a
tintofMaterialTheme.colorScheme.onSurfaceto the size and angle icons within theEditEmojiBottomSheetContentto guarantee their visibility across different themes.
- Explicitly set the
-
Modal Bottom Sheet Behavior:
- The
ModalBottomSheeton the compact edit screen is now non-dismissible via user gestures. - Swipe-to-dismiss functionality has been disabled by setting
sheetGesturesEnabled = false. - The
onDismissRequestlambda (triggered by tapping the scrim) has been updated to immediatelyshow()the sheet again, preventing it from closing. - The drag handle has been hidden by passing an empty composable to the
dragHandleparameter. - The previous
confirmValueChangelogic, which is buggy, has been removed.
- The