From a9d1ac81374119e33871484c8749a94d11a71cae Mon Sep 17 00:00:00 2001 From: pacien Date: Sun, 5 Aug 2018 21:05:39 +0200 Subject: Use app name in about dialog --- app/src/main/java/org/pacien/tincapp/activities/BaseActivity.kt | 3 +-- 1 file changed, 1 insertion(+), 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 import android.view.Menu import android.view.MenuItem import kotlinx.android.synthetic.main.base.* -import org.pacien.tincapp.BuildConfig import org.pacien.tincapp.R import org.pacien.tincapp.context.App import org.pacien.tincapp.context.AppInfo @@ -73,7 +72,7 @@ abstract class BaseActivity : AppCompatActivity() { fun aboutDialog(@Suppress("UNUSED_PARAMETER") i: MenuItem) { AlertDialog.Builder(this) - .setTitle(BuildConfig.APPLICATION_ID) + .setTitle(resources.getString(R.string.app_name)) .setMessage(resources.getString(R.string.app_short_desc) + "\n\n" + resources.getString(R.string.app_copyright) + " " + resources.getString(R.string.app_license) + "\n\n" + -- cgit v1.2.3