diff options
author | pacien | 2018-08-05 21:05:39 +0200 |
---|---|---|
committer | pacien | 2018-08-05 21:05:39 +0200 |
commit | a9d1ac81374119e33871484c8749a94d11a71cae (patch) | |
tree | 425d360fd340658f86cb7ed200014e9577cd145e /app/src/main/java/org | |
parent | 0961e674fd7738d7a7ff6d76179677bc3779d535 (diff) | |
download | tincapp-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.kt | 3 |
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 | |||
26 | import android.view.Menu | 26 | import android.view.Menu |
27 | import android.view.MenuItem | 27 | import android.view.MenuItem |
28 | import kotlinx.android.synthetic.main.base.* | 28 | import kotlinx.android.synthetic.main.base.* |
29 | import org.pacien.tincapp.BuildConfig | ||
30 | import org.pacien.tincapp.R | 29 | import org.pacien.tincapp.R |
31 | import org.pacien.tincapp.context.App | 30 | import org.pacien.tincapp.context.App |
32 | import org.pacien.tincapp.context.AppInfo | 31 | import 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" + |