mirror of
https://github.com/bitwarden/android.git
synced 2025-03-15 18:58:59 +03:00
Remove deprecations (#961)
This commit is contained in:
parent
2cc8d85fab
commit
6e679d650f
3 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
@file:Suppress("DEPRECATION")
|
||||
|
||||
package com.x8bit.bitwarden.data.platform.datasource.disk.legacy
|
||||
|
||||
import android.annotation.SuppressLint
|
||||
|
|
|
@ -27,6 +27,7 @@ import com.x8bit.bitwarden.data.vault.datasource.disk.entity.SendEntity
|
|||
SendEntity::class,
|
||||
],
|
||||
version = 3,
|
||||
exportSchema = false,
|
||||
)
|
||||
@TypeConverters(ZonedDateTimeTypeConverter::class)
|
||||
abstract class VaultDatabase : RoomDatabase() {
|
||||
|
|
|
@ -12,6 +12,9 @@ val Configuration.maxDialogHeight: Dp
|
|||
Configuration.ORIENTATION_LANDSCAPE -> 312.dp
|
||||
Configuration.ORIENTATION_PORTRAIT -> 542.dp
|
||||
Configuration.ORIENTATION_UNDEFINED -> Dp.Unspecified
|
||||
Configuration.ORIENTATION_SQUARE -> Dp.Unspecified
|
||||
@Suppress("DEPRECATION")
|
||||
Configuration.ORIENTATION_SQUARE,
|
||||
-> Dp.Unspecified
|
||||
|
||||
else -> Dp.Unspecified
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue