srctree

Robin Linden parent 2badb390 70247572
Fix dialogs having the wrong titles

inlinesplit
atox/src/main/kotlin/ui/chat/ChatFragment.kt added: 6, removed: 5, total 1
@@ -258,7 +258,7 @@ class ChatFragment : BaseFragment<FragmentChatBinding>(FragmentChatBinding::infl
val message = messages.adapter.getItem(info.position) as Message
 
AlertDialog.Builder(requireContext())
.setTitle(R.string.clear_history)
.setTitle(R.string.delete_message)
.setMessage(
getString(
R.string.delete_message_confirm,
 
atox/src/main/kotlin/ui/contactlist/ContactListFragment.kt added: 6, removed: 5, total 1
@@ -254,7 +254,7 @@ class ContactListFragment :
val contact = binding.contactList.adapter.getItem(info.position) as Contact
 
AlertDialog.Builder(requireContext())
.setTitle(R.string.clear_history)
.setTitle(R.string.delete_contact)
.setMessage(
getString(
R.string.contact_list_delete_contact_confirm,
 
atox/src/main/res/values/strings.xml added: 6, removed: 5, total 1
@@ -148,4 +148,5 @@
<string name="pref_nospam">Nospam</string>
<string name="pref_nospam_description">Changing your nospam means that your Tox ID changes, and that your current Tox ID can no longer be used to send you friend requests</string>
<string name="saved">Saved</string>
<string name="delete_message">Delete message</string>
</resources>
No newline at end of file