From 4ce9a699cc558fbc056437dbb43270a0a782a396 Mon Sep 17 00:00:00 2001
From: Taras Smakula <tarassmakula@gmail.com>
Date: Fri, 14 Jul 2023 15:44:37 +0300
Subject: [PATCH] Move expandable items ds to core

---
 .../feature/room/manage_members/ManageMembersDataSource.kt      | 2 +-
 .../java/org/futo/circles/core}/ExpandableItemsDataSource.kt    | 2 +-
 .../feature/active_sessions/ActiveSessionsDataSource.kt         | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
 rename {app/src/main/java/org/futo/circles/base => core/src/main/java/org/futo/circles/core}/ExpandableItemsDataSource.kt (95%)

diff --git a/app/src/main/java/org/futo/circles/feature/room/manage_members/ManageMembersDataSource.kt b/app/src/main/java/org/futo/circles/feature/room/manage_members/ManageMembersDataSource.kt
index 38c5c94a2..762bcf378 100644
--- a/app/src/main/java/org/futo/circles/feature/room/manage_members/ManageMembersDataSource.kt
+++ b/app/src/main/java/org/futo/circles/feature/room/manage_members/ManageMembersDataSource.kt
@@ -15,7 +15,7 @@ import kotlinx.coroutines.flow.flowOf
 import kotlinx.coroutines.flow.flowOn
 import kotlinx.coroutines.flow.mapNotNull
 import org.futo.circles.R
-import org.futo.circles.base.ExpandableItemsDataSource
+import org.futo.circles.core.ExpandableItemsDataSource
 import org.futo.circles.core.extensions.createResult
 import org.futo.circles.core.extensions.getOrThrow
 import org.futo.circles.core.mapping.nameOrId
diff --git a/app/src/main/java/org/futo/circles/base/ExpandableItemsDataSource.kt b/core/src/main/java/org/futo/circles/core/ExpandableItemsDataSource.kt
similarity index 95%
rename from app/src/main/java/org/futo/circles/base/ExpandableItemsDataSource.kt
rename to core/src/main/java/org/futo/circles/core/ExpandableItemsDataSource.kt
index b9a014cb2..1b7df4ae5 100644
--- a/app/src/main/java/org/futo/circles/base/ExpandableItemsDataSource.kt
+++ b/core/src/main/java/org/futo/circles/core/ExpandableItemsDataSource.kt
@@ -1,4 +1,4 @@
-package org.futo.circles.base
+package org.futo.circles.core
 
 import kotlinx.coroutines.flow.MutableStateFlow
 import kotlinx.coroutines.flow.update
diff --git a/settings/src/main/java/org/futo/circles/settings/feature/active_sessions/ActiveSessionsDataSource.kt b/settings/src/main/java/org/futo/circles/settings/feature/active_sessions/ActiveSessionsDataSource.kt
index 6f1544443..52627e5bb 100644
--- a/settings/src/main/java/org/futo/circles/settings/feature/active_sessions/ActiveSessionsDataSource.kt
+++ b/settings/src/main/java/org/futo/circles/settings/feature/active_sessions/ActiveSessionsDataSource.kt
@@ -10,7 +10,7 @@ import kotlinx.coroutines.flow.combine
 import kotlinx.coroutines.flow.distinctUntilChanged
 import kotlinx.coroutines.flow.flowOn
 import org.futo.circles.auth.feature.reauth.AuthConfirmationProvider
-import org.futo.circles.base.ExpandableItemsDataSource
+import org.futo.circles.core.ExpandableItemsDataSource
 import org.futo.circles.core.extensions.Response
 import org.futo.circles.core.extensions.createResult
 import org.futo.circles.core.provider.MatrixSessionProvider
-- 
GitLab