diff --git a/vector/src/main/java/im/vector/app/features/settings/SharedPreferenceLiveData.kt b/vector/src/main/java/im/vector/app/core/platform/livedata/SharedPreferenceLiveData.kt similarity index 97% rename from vector/src/main/java/im/vector/app/features/settings/SharedPreferenceLiveData.kt rename to vector/src/main/java/im/vector/app/core/platform/livedata/SharedPreferenceLiveData.kt index 08e83258a1..3e0733b35d 100644 --- a/vector/src/main/java/im/vector/app/features/settings/SharedPreferenceLiveData.kt +++ b/vector/src/main/java/im/vector/app/core/platform/livedata/SharedPreferenceLiveData.kt @@ -14,7 +14,7 @@ * limitations under the License. */ -package im.vector.app.features.settings +package im.vector.app.core.platform.livedata import android.content.SharedPreferences import androidx.lifecycle.LiveData diff --git a/vector/src/main/java/im/vector/app/features/settings/VectorPreferences.kt b/vector/src/main/java/im/vector/app/features/settings/VectorPreferences.kt index 4d1c9b5728..b2b609d714 100755 --- a/vector/src/main/java/im/vector/app/features/settings/VectorPreferences.kt +++ b/vector/src/main/java/im/vector/app/features/settings/VectorPreferences.kt @@ -25,6 +25,7 @@ import com.squareup.seismic.ShakeDetector import im.vector.app.BuildConfig import im.vector.app.R import im.vector.app.core.di.DefaultSharedPreferences +import im.vector.app.core.platform.livedata.SharedPreferenceLiveData import im.vector.app.features.disclaimer.SHARED_PREF_KEY import im.vector.app.features.homeserver.ServerUrlsRepository import im.vector.app.features.themes.ThemeUtils