fix: Preference summary not updating

This commit is contained in:
ziro 2024-02-05 16:03:49 +07:00
parent 80191827c2
commit 1f030189cd
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
2 changed files with 3 additions and 2 deletions

View file

@ -11,4 +11,5 @@
- Ported Tachi's cutout option - Ported Tachi's cutout option
## Fixes ## Fixes
- Fixed splash icon hardcoded to white - Fixed splash icon hardcoded to white
- Fixed preference summary not updating after being changed once

View file

@ -78,7 +78,7 @@ open class ListMatPreference @JvmOverloads constructor(
notifyChanged() notifyChanged()
} }
} }
this@ListMatPreference.summary = this@ListMatPreference.summary this@ListMatPreference.setSummary(0)
dialog.dismiss() dialog.dismiss()
} }
} }