mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 03:59:35 +01:00
Merge pull request #3261 from nextcloud/bugfix/3243/avoidWrongAccountScheduledForDeletionInfo
avoid falsely shown "Account scheduled for deletion" info
This commit is contained in:
commit
741647ee5b
@ -471,7 +471,7 @@ class SettingsActivity : BaseActivity() {
|
||||
private fun removeCurrentAccount() {
|
||||
val otherUserExists = userManager.scheduleUserForDeletionWithId(currentUser!!.id!!).blockingGet()
|
||||
val accountRemovalWork = OneTimeWorkRequest.Builder(AccountRemovalWorker::class.java).build()
|
||||
WorkManager.getInstance(this).enqueue(accountRemovalWork)
|
||||
WorkManager.getInstance(applicationContext).enqueue(accountRemovalWork)
|
||||
if (otherUserExists) {
|
||||
// TODO: find better solution once Conductor is removed
|
||||
finish()
|
||||
|
@ -376,7 +376,6 @@ How to translate with transifex:
|
||||
<string name="nc_add_attachment">Add attachment</string>
|
||||
<string name="emoji_category_recent">Recent</string>
|
||||
<string name="emoji_backspace">Backspace</string>
|
||||
<string name="emoji_search">Search emoji</string>
|
||||
|
||||
<!-- Conversation info guest access -->
|
||||
<string name="nc_guest_access">Guest access</string>
|
||||
|
Loading…
Reference in New Issue
Block a user