fix: reply to blocked messages using swipe to reply
closes #11 Signed-off-by: Amy <amy+git@amogus.cloud>
This commit is contained in:
parent
584ce90b64
commit
ad25e3187e
|
|
@ -216,7 +216,9 @@ fun RegularMessage(
|
|||
)
|
||||
.nestedScroll(nestedScrollConnection)
|
||||
.then(
|
||||
if (LoadedSettings.messageReplyStyle == MessageReplyStyle.SwipeFromEnd)
|
||||
// FIXME Use one cache roundtrip instead of fetching the cache twice to render the message
|
||||
if (LoadedSettings.messageReplyStyle == MessageReplyStyle.SwipeFromEnd
|
||||
&& StoatAPI.userCache[message.author]?.relationship != "Blocked")
|
||||
Modifier.supportSwipeReply(
|
||||
onDown = {},
|
||||
onMove = onFingerMoveHandler,
|
||||
|
|
|
|||
Loading…
Reference in New Issue