Просмотр исходного кода

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

B. Petersen 2 лет назад
Родитель
Сommit
d494fd0b84
1 измененных файлов с 1 добавлено и 1 удалено
  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
         }