File tree Expand file tree Collapse file tree
app/src/main/java/org/schabi/newpipe/ui/components/menu Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ import androidx.compose.material.icons.filled.Share
2525import androidx.compose.ui.graphics.vector.ImageVector
2626import androidx.core.net.toUri
2727import kotlinx.coroutines.Dispatchers
28- import kotlinx.coroutines.reactive.awaitFirst
2928import kotlinx.coroutines.rx3.await
3029import kotlinx.coroutines.rx3.awaitSingle
3130import kotlinx.coroutines.withContext
@@ -214,8 +213,8 @@ data class LongPressAction(
214213 item.url,
215214 item.uploaderUrl
216215 )
217- NavigationHelper .openChannelFragment (
218- context.findFragmentActivity().supportFragmentManager ,
216+ NavigationHelper .openChannelFragmentUsingIntent (
217+ context,
219218 item.serviceId,
220219 uploaderUrl,
221220 item.uploaderName
@@ -372,8 +371,8 @@ data class LongPressAction(
372371 buildShareActionList(item) +
373372 listOfNotNull(
374373 Type .ShowChannelDetails .buildAction { context ->
375- NavigationHelper .openChannelFragment (
376- context.findFragmentActivity().supportFragmentManager ,
374+ NavigationHelper .openChannelFragmentUsingIntent (
375+ context,
377376 item.serviceId,
378377 item.url,
379378 item.name
You can’t perform that action at this time.
0 commit comments