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() {
.content(R.string.delete_confirmation)
.positiveText(R.string.label_yes)
.negativeText(R.string.label_no)
.negativeColorAttr(R.attr.colorTextPrimary)
.backgroundColorAttr(R.attr.colorBackgroundCard)
.contentColorAttr(R.attr.colorTextPrimary)
.negativeColorAttr(android.R.attr.textColorPrimary)
.onPositive { _, _ ->
val it = account
if (it != null)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment