aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/org
diff options
context:
space:
mode:
authorpacien2018-08-05 21:05:39 +0200
committerpacien2018-08-05 21:05:39 +0200
commita9d1ac81374119e33871484c8749a94d11a71cae (patch)
tree425d360fd340658f86cb7ed200014e9577cd145e /app/src/main/java/org
parent0961e674fd7738d7a7ff6d76179677bc3779d535 (diff)
downloadtincapp-a9d1ac81374119e33871484c8749a94d11a71cae.tar.gz
Use app name in about dialog
Diffstat (limited to 'app/src/main/java/org')
-rw-r--r--app/src/main/java/org/pacien/tincapp/activities/BaseActivity.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/src/main/java/org/pacien/tincapp/activities/BaseActivity.kt b/app/src/main/java/org/pacien/tincapp/activities/BaseActivity.kt
index fde99d0..3e2bebd 100644
--- a/app/src/main/java/org/pacien/tincapp/activities/BaseActivity.kt
+++ b/app/src/main/java/org/pacien/tincapp/activities/BaseActivity.kt
@@ -26,7 +26,6 @@ import android.support.v7.app.AppCompatActivity
26import android.view.Menu 26import android.view.Menu
27import android.view.MenuItem 27import android.view.MenuItem
28import kotlinx.android.synthetic.main.base.* 28import kotlinx.android.synthetic.main.base.*
29import org.pacien.tincapp.BuildConfig
30import org.pacien.tincapp.R 29import org.pacien.tincapp.R
31import org.pacien.tincapp.context.App 30import org.pacien.tincapp.context.App
32import org.pacien.tincapp.context.AppInfo 31import org.pacien.tincapp.context.AppInfo
@@ -73,7 +72,7 @@ abstract class BaseActivity : AppCompatActivity() {
73 72
74 fun aboutDialog(@Suppress("UNUSED_PARAMETER") i: MenuItem) { 73 fun aboutDialog(@Suppress("UNUSED_PARAMETER") i: MenuItem) {
75 AlertDialog.Builder(this) 74 AlertDialog.Builder(this)
76 .setTitle(BuildConfig.APPLICATION_ID) 75 .setTitle(resources.getString(R.string.app_name))
77 .setMessage(resources.getString(R.string.app_short_desc) + "\n\n" + 76 .setMessage(resources.getString(R.string.app_short_desc) + "\n\n" +
78 resources.getString(R.string.app_copyright) + " " + 77 resources.getString(R.string.app_copyright) + " " +
79 resources.getString(R.string.app_license) + "\n\n" + 78 resources.getString(R.string.app_license) + "\n\n" +