Skip to content
Snippets Groups Projects
Verified Commit 588c6739 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fixes a bug where core accounts could not be deleted

parent aa4fa3b3
No related branches found
No related tags found
No related merge requests found
...@@ -160,9 +160,7 @@ class AccountEditActivity : DaggerAppCompatActivity() { ...@@ -160,9 +160,7 @@ class AccountEditActivity : DaggerAppCompatActivity() {
.content(R.string.delete_confirmation) .content(R.string.delete_confirmation)
.positiveText(R.string.label_yes) .positiveText(R.string.label_yes)
.negativeText(R.string.label_no) .negativeText(R.string.label_no)
.negativeColorAttr(R.attr.colorTextPrimary) .negativeColorAttr(android.R.attr.textColorPrimary)
.backgroundColorAttr(R.attr.colorBackgroundCard)
.contentColorAttr(R.attr.colorTextPrimary)
.onPositive { _, _ -> .onPositive { _, _ ->
val it = account val it = account
if (it != null) if (it != null)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment