ktlint and format

This commit is contained in:
Benoit Marty 2021-07-05 16:24:19 +02:00
parent 97cae9926b
commit 0e8018cbba
1 changed files with 2 additions and 1 deletions

View File

@ -262,6 +262,7 @@ class VectorPreferences @Inject constructor(private val context: Context) {
fun subscribeToChanges(listener: SharedPreferences.OnSharedPreferenceChangeListener) {
defaultPrefs.registerOnSharedPreferenceChangeListener(listener)
}
fun unsubscribeToChanges(listener: SharedPreferences.OnSharedPreferenceChangeListener) {
defaultPrefs.unregisterOnSharedPreferenceChangeListener(listener)
}