Merge pull request #1670 from Naveen3Singh/make_config_public

Make recent color config var public
This commit is contained in:
Tibor Kaputa 2023-05-03 20:48:36 +02:00 committed by GitHub
commit e0de722ace
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -466,7 +466,7 @@ open class BaseConfig(val context: Context) {
set(showCallConfirmation) = prefs.edit().putBoolean(SHOW_CALL_CONFIRMATION, showCallConfirmation).apply()
// color picker last used colors
internal var colorPickerRecentColors: LinkedList<Int>
var colorPickerRecentColors: LinkedList<Int>
get(): LinkedList<Int> {
val defaultList = arrayListOf(
context.resources.getColor(R.color.md_red_700),