mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 21:34:44 +02:00
Check signature
This commit is contained in:
@@ -88,7 +88,11 @@ public class FragmentAbout extends FragmentEx {
|
||||
sb.append(context.getString(R.string.title_debug_info_remark) + "\n\n\n\n");
|
||||
|
||||
// Get version info
|
||||
sb.append(String.format("%s: %s\r\n", context.getString(R.string.app_name), BuildConfig.VERSION_NAME));
|
||||
sb.append(String.format("%s: %s %s/%s\r\n",
|
||||
context.getString(R.string.app_name),
|
||||
BuildConfig.APPLICATION_ID,
|
||||
BuildConfig.VERSION_NAME,
|
||||
Helper.hasValidFingerprint(context) ? "1" : "3"));
|
||||
sb.append(String.format("Android: %s (SDK %d)\r\n", Build.VERSION.RELEASE, Build.VERSION.SDK_INT));
|
||||
sb.append("\r\n");
|
||||
|
||||
@@ -250,8 +254,8 @@ public class FragmentAbout extends FragmentEx {
|
||||
});
|
||||
|
||||
boolean debug = PreferenceManager.getDefaultSharedPreferences(getContext()).getBoolean("debug", false);
|
||||
btnLog.setVisibility(debug ? View.VISIBLE : View.GONE);
|
||||
btnDebugInfo.setVisibility(debug ? View.VISIBLE : View.GONE);
|
||||
btnLog.setVisibility(debug || BuildConfig.DEBUG ? View.VISIBLE : View.GONE);
|
||||
btnDebugInfo.setVisibility(debug || BuildConfig.DEBUG ? View.VISIBLE : View.GONE);
|
||||
|
||||
return view;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user