mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Add some comments after PR review
This commit is contained in:
+2
@@ -79,6 +79,8 @@ class UserStatusPresenter(
|
||||
}
|
||||
}
|
||||
|
||||
// In CustomInput mode, override the picker state's `emojiPickerSheetState` with the freshly composed emoji-picker
|
||||
// sub-state so recompositions of the picker propagate up. Other modes pass through unchanged.
|
||||
val effectivePickerState = when (val current = pickerState) {
|
||||
is UserStatusPickerState.CustomInput -> {
|
||||
val emojiPickerState = presentEmojiPickerSheetState(isEmojiPickerVisible)
|
||||
|
||||
Reference in New Issue
Block a user