Skip to content

Commit

Permalink
tweak saved messages profile
Browse files Browse the repository at this point in the history
  • Loading branch information
r10s committed Feb 5, 2025
1 parent fcdc775 commit 5d54205
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,10 @@ class EphemeralMessagesViewController: UITableViewController {
}

override func tableView(_ tableView: UITableView, titleForFooterInSection section: Int) -> String? {
return String.localized("ephemeral_messages_hint")
if !dcContext.getChat(chatId: chatId).isSelfTalk { // the hint refers to "all member of the chat", this is weird for "Saved Messages"
return String.localized("ephemeral_messages_hint")
}
return nil
}

override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
Expand Down
4 changes: 2 additions & 2 deletions deltachat-ios/ViewModel/ContactDetailViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ class ContactDetailViewModel {
if chatExists {
if !isDeviceTalk {
chatOptions.append(.ephemeralMessages)
chatOptions.append(.startChat)
}

if isSavedMessages == false && isDeviceTalk == false {
if !isSavedMessages && !isDeviceTalk {
chatOptions.append(.startChat)
chatOptions.append(.shareContact)
}

Expand Down

0 comments on commit 5d54205

Please sign in to comment.