package org.thoughtcrime.securesms.components.settings.app.privacy.expire

import org.thoughtcrime.securesms.util.livedata.ProcessState

data class ExpireTimerSettingsState(
  val initialTimer: Int = 0,
  val userSetTimer: Int? = null,
  val saveState: ProcessState<Int> = ProcessState.Idle(),
  val isGroupCreate: Boolean = false,
  val isForRecipient: Boolean = isGroupCreate,
) {
  val currentTimer: Int
    get() = userSetTimer ?: initialTimer
}
