diff --git a/app/src/test/java/com/wbrawner/simplemarkdown/FakePreferenceHelper.kt b/app/src/test/java/com/wbrawner/simplemarkdown/FakePreferenceHelper.kt index a600129..d5b4cd1 100644 --- a/app/src/test/java/com/wbrawner/simplemarkdown/FakePreferenceHelper.kt +++ b/app/src/test/java/com/wbrawner/simplemarkdown/FakePreferenceHelper.kt @@ -23,6 +23,7 @@ class FakePreferenceHelper: PreferenceHelper { preferences[preference] = value } + @Suppress("UNCHECKED_CAST") override fun observe(preference: Preference): StateFlow = preferenceFlow(preference) as StateFlow } \ No newline at end of file