From 222ecfa6b63a8823a6e081f58b67de5e14e1856e Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 22 Aug 2023 23:50:26 +0200 Subject: [PATCH] removing some redundant name qualifiers --- .../simplemobiletools/calculator/activities/MainActivity.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/calculator/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calculator/activities/MainActivity.kt index 38146f6..09d75d2 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calculator/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calculator/activities/MainActivity.kt @@ -167,7 +167,7 @@ class MainActivity : SimpleActivity(), Calculator { private fun showHistory() { HistoryHelper(this).getHistory { if (it.isEmpty()) { - toast(com.simplemobiletools.calculator.R.string.history_empty) + toast(R.string.history_empty) } else { HistoryDialog(this, it, calc) } @@ -220,8 +220,8 @@ class MainActivity : SimpleActivity(), Calculator { private fun checkWhatsNewDialog() { arrayListOf().apply { - add(Release(18, com.simplemobiletools.calculator.R.string.release_18)) - add(Release(28, com.simplemobiletools.calculator.R.string.release_28)) + add(Release(18, R.string.release_18)) + add(Release(28, R.string.release_28)) checkWhatsNew(this, BuildConfig.VERSION_CODE) } }