Skip to content

Commit

Permalink
Add missed url preview longpress passthrough
Browse files Browse the repository at this point in the history
Change-Id: Icb4760ad83b2cb451b6a8e9f66106383db9824cd
  • Loading branch information
SpiritCroc committed Jan 15, 2025
1 parent 00818ed commit 4ad479b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import android.util.Patterns
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import androidx.compose.foundation.combinedClickable
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
Expand Down Expand Up @@ -278,7 +277,7 @@ fun UrlPreviewView(
modifier = Modifier
.thenIf(urlPreview.imageUrl != null || urlPreview.title != null || urlPreview.siteName != null) { padding(top = 4.dp) }
.clip(RoundedCornerShape(4.dp))
.clickable { expanded = !expanded }
.combinedClickable(onLongClick = onLongCLick) { expanded = !expanded }
.padding(horizontal = 4.dp),
)
}
Expand Down

0 comments on commit 4ad479b

Please sign in to comment.