|
|
|
@ -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
|
|
|
|
|