Commit 591bbfe8 authored by Emil van den Berg's avatar Emil van den Berg
Browse files

version string on settings screen

parent 9f662d2b
Pipeline #7483 failed with stage
......@@ -265,7 +265,7 @@ public class SettingsActivity extends AppCompatActivity {
((ConstraintLayout) findViewById(R.id.infoOption)).setVisibility(View.VISIBLE);
((TextView) findViewById(R.id.greyedSettingAbove)).setVisibility(View.VISIBLE);
((TextView) findViewById(R.id.greyedSettingAbove)).setText("Open-sourcelicenties");
((TextView) findViewById(R.id.infoTextVersion)).setText(BuildConfig.VERSION_NAME + (BuildConfig.SERVER.isEmpty()? 'd': 's'));
((TextView) findViewById(R.id.infoTextVersion)).setText(BuildConfig.VERSION_NAME + BuildConfig.VERSION_CHAR);
((TextView) findViewById(R.id.infoTextAccount)).setText(ExtensionsKt.getPreferences(SettingsActivity.this).getEmail());
((TextView) findViewById(R.id.infoTextDevice)).setText(ExtensionsKt.getPreferences(SettingsActivity.this).getToken());
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment