mirror of https://github.com/M66B/FairEmail.git
Directly open link title
This commit is contained in:
parent
6e54723521
commit
83a9108db9
|
@ -203,7 +203,10 @@ public class FragmentDialogOpenLink extends FragmentDialogBase {
|
|||
ibDifferent.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
etLink.setText(format(uriTitle, context));
|
||||
Package pkg = (Package) spOpenWith.getSelectedItem();
|
||||
Log.i("Open title uri=" + uri + " with=" + pkg);
|
||||
boolean tabs = (pkg != null && pkg.tabs);
|
||||
Helper.view(context, uriTitle, !tabs, !tabs);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
android:maxLines="2"
|
||||
android:text="Link title"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
||||
android:textIsSelectable="true"
|
||||
android:textStyle="italic"
|
||||
app:layout_constraintEnd_toStartOf="@+id/ibDifferent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
Loading…
Reference in New Issue