mirror of
https://github.com/bitwarden/android.git
synced 2024-11-26 19:36:18 +03:00
Use delegation for rememberedEmailAddress (#302)
This commit is contained in:
parent
b279633166
commit
641b5c35bf
1 changed files with 1 additions and 5 deletions
|
@ -102,11 +102,7 @@ class AuthRepositoryImpl constructor(
|
|||
override val captchaTokenResultFlow: Flow<CaptchaCallbackTokenResult> =
|
||||
mutableCaptchaTokenFlow.asSharedFlow()
|
||||
|
||||
override var rememberedEmailAddress: String?
|
||||
get() = authDiskSource.rememberedEmailAddress
|
||||
set(value) {
|
||||
authDiskSource.rememberedEmailAddress = value
|
||||
}
|
||||
override var rememberedEmailAddress: String? by authDiskSource::rememberedEmailAddress
|
||||
|
||||
override suspend fun deleteAccount(password: String): DeleteAccountResult {
|
||||
val profile = authDiskSource.userState?.activeAccount?.profile
|
||||
|
|
Loading…
Reference in a new issue