summaryrefslogtreecommitdiff
path: root/format-common
diff options
context:
space:
mode:
Diffstat (limited to 'format-common')
-rw-r--r--format-common/src/main/kotlin/app/passwordstore/data/passfile/PasswordEntry.kt2
-rw-r--r--format-common/src/main/kotlin/app/passwordstore/data/passfile/Totp.kt2
2 files changed, 0 insertions, 4 deletions
diff --git a/format-common/src/main/kotlin/app/passwordstore/data/passfile/PasswordEntry.kt b/format-common/src/main/kotlin/app/passwordstore/data/passfile/PasswordEntry.kt
index d2d16efd..1618374f 100644
--- a/format-common/src/main/kotlin/app/passwordstore/data/passfile/PasswordEntry.kt
+++ b/format-common/src/main/kotlin/app/passwordstore/data/passfile/PasswordEntry.kt
@@ -17,14 +17,12 @@ import kotlin.collections.set
import kotlin.coroutines.coroutineContext
import kotlin.time.Duration.Companion.milliseconds
import kotlin.time.Duration.Companion.seconds
-import kotlin.time.ExperimentalTime
import kotlinx.coroutines.delay
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
import kotlinx.coroutines.isActive
/** Represents a single entry in the password store. */
-@OptIn(ExperimentalTime::class)
public class PasswordEntry
@AssistedInject
constructor(
diff --git a/format-common/src/main/kotlin/app/passwordstore/data/passfile/Totp.kt b/format-common/src/main/kotlin/app/passwordstore/data/passfile/Totp.kt
index 2f42977b..c279360f 100644
--- a/format-common/src/main/kotlin/app/passwordstore/data/passfile/Totp.kt
+++ b/format-common/src/main/kotlin/app/passwordstore/data/passfile/Totp.kt
@@ -1,8 +1,6 @@
package app.passwordstore.data.passfile
import kotlin.time.Duration
-import kotlin.time.ExperimentalTime
/** Holder for a TOTP secret and the duration for which it is valid. */
-@OptIn(ExperimentalTime::class)
public data class Totp(public val value: String, public val remainingTime: Duration)