File tree Expand file tree Collapse file tree
app/src/main/java/org/schabi/newpipe/fragments/list/comments Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111import androidx .annotation .Nullable ;
1212import androidx .constraintlayout .widget .ConstraintLayout ;
1313import androidx .core .text .HtmlCompat ;
14- import androidx .core .text .util .LinkMovementMethodCompat ;
1514
1615import com .evernote .android .state .State ;
1716
2928import org .schabi .newpipe .util .image .ImageStrategy ;
3029import org .schabi .newpipe .util .image .PicassoHelper ;
3130import org .schabi .newpipe .util .text .TextLinkifier ;
31+ import org .schabi .newpipe .util .text .LongPressLinkMovementMethod ;
3232
3333import java .util .Queue ;
3434import java .util .function .Supplier ;
@@ -111,7 +111,7 @@ protected Supplier<View> getListHeaderSupplier() {
111111 TextLinkifier .fromDescription (binding .commentContent , item .getCommentText (),
112112 HtmlCompat .FROM_HTML_MODE_LEGACY , getServiceById (item .getServiceId ()),
113113 item .getUrl (), disposables , null );
114- binding .commentContent .setMovementMethod (LinkMovementMethodCompat .getInstance ());
114+ binding .commentContent .setMovementMethod (LongPressLinkMovementMethod .getInstance ());
115115 return binding .getRoot ();
116116 };
117117 }
You can’t perform that action at this time.
0 commit comments