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

@ -12,3 +12,4 @@
## Fixes
- 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()
}
}
this@ListMatPreference.summary = this@ListMatPreference.summary
this@ListMatPreference.setSummary(0)
dialog.dismiss()
}
}