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

hide 'last seen' in 'device messages'

B. Petersen 2 лет назад
Родитель
Сommit
1d3786b06f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      deltachat-ios/ViewModel/ContactDetailViewModel.swift

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

@@ -173,7 +173,7 @@ class ContactDetailViewModel {
     func footerFor(section: Int) -> String? {
         switch sections[section] {
         case .chatOptions:
-            if isSavedMessages {
+            if isSavedMessages || isDeviceTalk {
                 return nil
             } else if lastSeen == 0 {
                 return String.localized("last_seen_unknown")