mirror of
https://github.com/SimpleMobileTools/Simple-Calculator.git
synced 2025-06-05 21:49:13 +02:00
removing some redundant name qualifiers
This commit is contained in:
@ -167,7 +167,7 @@ class MainActivity : SimpleActivity(), Calculator {
|
|||||||
private fun showHistory() {
|
private fun showHistory() {
|
||||||
HistoryHelper(this).getHistory {
|
HistoryHelper(this).getHistory {
|
||||||
if (it.isEmpty()) {
|
if (it.isEmpty()) {
|
||||||
toast(com.simplemobiletools.calculator.R.string.history_empty)
|
toast(R.string.history_empty)
|
||||||
} else {
|
} else {
|
||||||
HistoryDialog(this, it, calc)
|
HistoryDialog(this, it, calc)
|
||||||
}
|
}
|
||||||
@ -220,8 +220,8 @@ class MainActivity : SimpleActivity(), Calculator {
|
|||||||
|
|
||||||
private fun checkWhatsNewDialog() {
|
private fun checkWhatsNewDialog() {
|
||||||
arrayListOf<Release>().apply {
|
arrayListOf<Release>().apply {
|
||||||
add(Release(18, com.simplemobiletools.calculator.R.string.release_18))
|
add(Release(18, R.string.release_18))
|
||||||
add(Release(28, com.simplemobiletools.calculator.R.string.release_28))
|
add(Release(28, R.string.release_28))
|
||||||
checkWhatsNew(this, BuildConfig.VERSION_CODE)
|
checkWhatsNew(this, BuildConfig.VERSION_CODE)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user