This commit is contained in:
Amelia 2026-08-08 14:22:57 +05:30 committed by GitHub
commit d2ef76a59b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -218,7 +218,9 @@ fun RegularMessage(
) )
.nestedScroll(nestedScrollConnection) .nestedScroll(nestedScrollConnection)
.then( .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( Modifier.supportSwipeReply(
onDown = {}, onDown = {},
onMove = onFingerMoveHandler, onMove = onFingerMoveHandler,