lets actually not show the ringtone on View screen if it is the default

This commit is contained in:
tibbi 2021-02-14 20:24:08 +01:00
parent 230b438134
commit ab94133860

View File

@ -586,8 +586,9 @@ class ViewContactActivity : ContactActivity() {
contact_ringtone.text = ringtoneTitle
}
} else {
val default = getDefaultAlarmSound(RingtoneManager.TYPE_RINGTONE)
contact_ringtone.text = default.title
contact_ringtone_image.beGone()
contact_ringtone.beGone()
return
}
contact_ringtone.copyOnLongClick(contact_ringtone.text.toString())