add comments

pull/731/head
Ryan Zhao 8 months ago
parent b605193e61
commit c933ea1734

@ -64,6 +64,9 @@ class ThreadDisappearingMessagesSettingsViewModel: SessionTableViewModel, Naviga
var title: String? {
switch self {
case .type: return "DISAPPERING_MESSAGES_TYPE_TITLE".localized()
// We need to keep these although the titles of them are the same
// because we need them to trigger timer section to refresh when
// the user selects different disappearing messages type
case .timerLegacy, .timerDisappearAfterSend, .timerDisappearAfterRead: return "DISAPPERING_MESSAGES_TIMER_TITLE".localized()
case .noteToSelf: return nil
case .group: return nil

Loading…
Cancel
Save