Skip to content

Commit c848610

Browse files
authored
Merge pull request #1596 from DimensionDev/bugfix/android_compose_emoji
move compose emoji picker to the top
2 parents 98b6395 + f22514e commit c848610

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/src/main/java/dev/dimension/flare/ui/screen/compose/ComposeScreen.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ internal fun ComposeScreen(
267267
onDismissRequest = {
268268
state.setShowAccountSelectMenu(false)
269269
},
270-
properties = PopupProperties(focusable = true),
270+
properties = PopupProperties(focusable = false),
271271
) {
272272
for (i in 0 until others.size) {
273273
val (user, account) = others[i]
@@ -680,6 +680,7 @@ internal fun ComposeScreen(
680680
?.let(AccountType::Specific)
681681
}
682682
Popup(
683+
alignment = Alignment.BottomStart,
683684
onDismissRequest = {
684685
state.setShowEmojiMenu(false)
685686
},
@@ -688,7 +689,7 @@ internal fun ComposeScreen(
688689
x = 0,
689690
y =
690691
with(LocalDensity.current) {
691-
48.dp.roundToPx()
692+
-48.dp.roundToPx()
692693
},
693694
),
694695
properties =

0 commit comments

Comments
 (0)