mirror of https://github.com/M66B/FairEmail.git
Added release name
This commit is contained in:
parent
f8badc4d06
commit
a49c64d87c
|
@ -17,6 +17,9 @@ android {
|
|||
versionName "1.587"
|
||||
archivesBaseName = "FairEmail-v$versionName"
|
||||
|
||||
// https://en.wikipedia.org/wiki/List_of_dinosaur_genera
|
||||
buildConfigField "String", "RELEASE_NAME", "\"Allosaurus\""
|
||||
|
||||
javaCompileOptions {
|
||||
annotationProcessorOptions {
|
||||
arguments = ["room.schemaLocation": "$projectDir/schemas".toString()]
|
||||
|
|
|
@ -45,9 +45,11 @@ public class FragmentAbout extends FragmentBase {
|
|||
View view = inflater.inflate(R.layout.fragment_about, container, false);
|
||||
|
||||
TextView tvVersion = view.findViewById(R.id.tvVersion);
|
||||
TextView tvRelease = view.findViewById(R.id.tvRelease);
|
||||
TextView tvLimitations = view.findViewById(R.id.tvLimitations);
|
||||
|
||||
tvVersion.setText(getString(R.string.title_version, BuildConfig.VERSION_NAME));
|
||||
tvRelease.setText(BuildConfig.RELEASE_NAME);
|
||||
tvLimitations.setPaintFlags(tvLimitations.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
||||
|
||||
return view;
|
||||
|
|
|
@ -27,6 +27,17 @@
|
|||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvRelease"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="6dp"
|
||||
android:text="Dinosaur"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
||||
android:textStyle="italic"
|
||||
app:layout_constraintStart_toEndOf="@+id/tvVersion"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvCopyright"
|
||||
android:layout_width="wrap_content"
|
||||
|
|
Loading…
Reference in New Issue