From 5cd0083807c0a6d01f85f6eff4cb9798648911d1 Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Tue, 30 Apr 2024 16:12:10 +0200 Subject: [PATCH] change: Remove unnecessary `Companion` qualifier --- app/src/main/java/app/pachli/view/SliderPreference.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/app/pachli/view/SliderPreference.kt b/app/src/main/java/app/pachli/view/SliderPreference.kt index 10808b952..8831e8fce 100644 --- a/app/src/main/java/app/pachli/view/SliderPreference.kt +++ b/app/src/main/java/app/pachli/view/SliderPreference.kt @@ -140,7 +140,7 @@ class SliderPreference @JvmOverloads constructor( } override fun onSetInitialValue(defaultValue: Any?) { - value = getPersistedFloat((defaultValue ?: Companion.DEFAULT_VALUE) as Float) + value = getPersistedFloat((defaultValue ?: DEFAULT_VALUE) as Float) } override fun onBindViewHolder(holder: PreferenceViewHolder) {