Parcourir la source

hide 'Signature Text' label for device messages and saved messages explanations

B. Petersen il y a 2 ans
Parent
commit
d494fd0b84
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      deltachat-ios/ViewModel/ContactDetailViewModel.swift

+ 1 - 1
deltachat-ios/ViewModel/ContactDetailViewModel.swift

@@ -164,7 +164,7 @@ class ContactDetailViewModel {
     func titleFor(section: Int) -> String? {
         switch sections[section] {
         case .chatOptions: return nil
-        case .statusArea: return String.localized("pref_default_status_label")
+        case .statusArea: return (isSavedMessages || isDeviceTalk) ? nil : String.localized("pref_default_status_label")
         case .sharedChats: return String.localized("profile_shared_chats")
         case .chatActions: return nil
         }