use proper colors at the top settings menu

This commit is contained in:
tibbi 2020-11-05 20:20:30 +01:00
parent 36ebd6bc4d
commit a69be0c11c

View file

@ -1,6 +1,7 @@
package com.simplemobiletools.voicerecorder.activities
import android.os.Bundle
import android.view.Menu
import com.simplemobiletools.commons.dialogs.ChangeDateTimeFormatDialog
import com.simplemobiletools.commons.dialogs.FilePickerDialog
import com.simplemobiletools.commons.dialogs.RadioGroupDialog
@ -34,6 +35,11 @@ class SettingsActivity : SimpleActivity() {
updateTextColors(settings_scrollview)
}
override fun onCreateOptionsMenu(menu: Menu): Boolean {
updateMenuItemColors(menu)
return super.onCreateOptionsMenu(menu)
}
private fun setupPurchaseThankYou() {
settings_purchase_thank_you_holder.beVisibleIf(!isThankYouInstalled())
settings_purchase_thank_you_holder.setOnClickListener {