瀏覽代碼

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

B. Petersen 2 年之前
父節點
當前提交
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
         }