diff --git a/app/src/main/kotlin/com/simplemobiletools/calculator/activities/UnitConverterActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calculator/activities/UnitConverterActivity.kt index 7d0c8181..6f5b7b6f 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calculator/activities/UnitConverterActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calculator/activities/UnitConverterActivity.kt @@ -52,12 +52,13 @@ class UnitConverterActivity : SimpleActivity() { } binding.viewUnitConverter.viewConverter.root.setConverter(converter) + binding.unitConverterToolbar.setTitle(converter.nameResId) } override fun onResume() { super.onResume() - setupToolbar(binding.unitConverterToolbar, NavigationIcon.Cross) + setupToolbar(binding.unitConverterToolbar, NavigationIcon.Arrow) binding.viewUnitConverter.viewConverter.root.updateColors() binding.viewUnitConverter.converterHolder.let { updateViewColors(it, getProperTextColor()) } diff --git a/app/src/main/kotlin/com/simplemobiletools/calculator/activities/UnitConverterPickerActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calculator/activities/UnitConverterPickerActivity.kt index 09306eff..dcf5b7f2 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calculator/activities/UnitConverterPickerActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calculator/activities/UnitConverterPickerActivity.kt @@ -37,7 +37,7 @@ class UnitConverterPickerActivity : SimpleActivity() { override fun onResume() { super.onResume() - setupToolbar(binding.unitConverterPickerToolbar, NavigationIcon.Cross) + setupToolbar(binding.unitConverterPickerToolbar, NavigationIcon.Arrow) if (config.preventPhoneFromSleeping) { window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)