mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 13:24:52 +02:00
@@ -58,6 +58,7 @@ public class FragmentAbout extends FragmentBase {
|
||||
TextView tvVersion = view.findViewById(R.id.tvVersion);
|
||||
TextView tvRelease = view.findViewById(R.id.tvRelease);
|
||||
TextView tvUpdated = view.findViewById(R.id.tvUpdated);
|
||||
ImageButton ibUpdate = view.findViewById(R.id.ibUpdate);
|
||||
TextView tvGplV3 = view.findViewById(R.id.tvGplV3);
|
||||
LinearLayout llContributors = view.findViewById(R.id.llContributors);
|
||||
|
||||
@@ -77,6 +78,19 @@ public class FragmentAbout extends FragmentBase {
|
||||
DateFormat DF = Helper.getDateTimeInstance(context, DateFormat.SHORT, DateFormat.SHORT);
|
||||
tvUpdated.setText(getString(R.string.app_updated, last == 0 ? "-" : DF.format(last)));
|
||||
|
||||
ibUpdate.setVisibility(
|
||||
Helper.hasValidFingerprint(context) || BuildConfig.DEBUG
|
||||
? View.VISIBLE : View.GONE);
|
||||
ibUpdate.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
if (BuildConfig.PLAY_STORE_RELEASE)
|
||||
Helper.view(v.getContext(), Helper.getIntentRate(v.getContext()));
|
||||
else
|
||||
onMenuChangelog();
|
||||
}
|
||||
});
|
||||
|
||||
tvGplV3.setPaintFlags(tvGplV3.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
||||
tvGplV3.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user