diff --git a/shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/feed/ui/FeedInfoBottomSheet.kt b/shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/feed/ui/FeedInfoBottomSheet.kt index 6ecd145de..86b6c0f9e 100644 --- a/shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/feed/ui/FeedInfoBottomSheet.kt +++ b/shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/feed/ui/FeedInfoBottomSheet.kt @@ -52,8 +52,6 @@ import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.draw.clip import androidx.compose.ui.graphics.Color -import androidx.compose.ui.hapticfeedback.HapticFeedbackType -import androidx.compose.ui.platform.LocalHapticFeedback import androidx.compose.ui.text.style.TextAlign import androidx.compose.ui.unit.dp import dev.sasikanth.rss.reader.components.ConfirmFeedDeleteDialog @@ -135,13 +133,9 @@ fun FeedInfoBottomSheet( private fun RemoveFeedButton(feed: Feed, onRemoveFeedClick: () -> Unit) { Box { var showConfirmDialog by remember { mutableStateOf(false) } - val hapticFeedback = LocalHapticFeedback.current TextButton( - onClick = { - hapticFeedback.performHapticFeedback(HapticFeedbackType.LongPress) - showConfirmDialog = true - }, + onClick = { showConfirmDialog = true }, contentPadding = PaddingValues(start = 16.dp, top = 16.dp, bottom = 16.dp, end = 24.dp), shape = MaterialTheme.shapes.large ) {