mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 17:13:23 +02:00
Added tutorials link
This commit is contained in:
@@ -84,6 +84,7 @@ public class FragmentSetup extends FragmentBase {
|
||||
private TextView tvNoInternet;
|
||||
private ImageButton ibHelp;
|
||||
private Button btnQuick;
|
||||
private TextView tvTutorials;
|
||||
private TextView tvQuickNew;
|
||||
|
||||
private CardView cardManual;
|
||||
@@ -164,6 +165,7 @@ public class FragmentSetup extends FragmentBase {
|
||||
tvNoInternet = view.findViewById(R.id.tvNoInternet);
|
||||
ibHelp = view.findViewById(R.id.ibHelp);
|
||||
btnQuick = view.findViewById(R.id.btnQuick);
|
||||
tvTutorials = view.findViewById(R.id.tvTutorials);
|
||||
tvQuickNew = view.findViewById(R.id.tvQuickNew);
|
||||
|
||||
cardManual = view.findViewById(R.id.cardManual);
|
||||
@@ -396,6 +398,14 @@ public class FragmentSetup extends FragmentBase {
|
||||
}
|
||||
});
|
||||
|
||||
tvTutorials.setPaintFlags(tvTutorials.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
||||
tvTutorials.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Helper.view(v.getContext(), Uri.parse(Helper.TUTORIALS_URI), false);
|
||||
}
|
||||
});
|
||||
|
||||
tvQuickNew.setPaintFlags(tvQuickNew.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
||||
tvQuickNew.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
|
||||
@@ -188,6 +188,7 @@ public class Helper {
|
||||
static final String PACKAGE_CHROME = "com.android.chrome";
|
||||
static final String PACKAGE_WEBVIEW = "https://play.google.com/store/apps/details?id=com.google.android.webview";
|
||||
static final String PRIVACY_URI = "https://email.faircode.eu/privacy/";
|
||||
static final String TUTORIALS_URI = "https://github.com/M66B/FairEmail/tree/master/tutorials";
|
||||
static final String XDA_URI = "https://forum.xda-developers.com/showthread.php?t=3824168";
|
||||
static final String SUPPORT_URI = "https://contact.faircode.eu/";
|
||||
static final String TEST_URI = "https://play.google.com/apps/testing/" + BuildConfig.APPLICATION_ID;
|
||||
|
||||
Reference in New Issue
Block a user