Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
circles-android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Circles
circles-android
Commits
d6fd6b88
Commit
d6fd6b88
authored
1 year ago
by
Taras
Browse files
Options
Downloads
Patches
Plain Diff
Replace backup after forgot password
parent
0488e920
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
auth/src/main/java/org/futo/circles/auth/feature/uia/UIAViewModel.kt
+4
-1
4 additions, 1 deletion
...in/java/org/futo/circles/auth/feature/uia/UIAViewModel.kt
with
4 additions
and
1 deletion
auth/src/main/java/org/futo/circles/auth/feature/uia/UIAViewModel.kt
+
4
−
1
View file @
d6fd6b88
...
...
@@ -111,8 +111,11 @@ class UIAViewModel @Inject constructor(
fun
finishForgotPassword
(
session
:
Session
)
{
launchBg
{
val
result
=
createResult
{
passPhraseLoadingLiveData
.
postValue
(
LoadingData
(
messageId
=
R
.
string
.
initial_sync
,
isLoading
=
true
)
)
MatrixSessionProvider
.
awaitForSessionSync
(
session
)
createPassPhraseDataSource
.
c
re
atePassPhrase
Backup
()
createPassPhraseDataSource
.
re
placeToNewKey
Backup
()
BSSpekeClientProvider
.
clear
()
}
(
result
as
?
Response
.
Success
)
?.
let
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment