diff --git a/app/build.gradle b/app/build.gradle index 12abc090b6..3fe76b7382 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,8 +9,8 @@ android { applicationId "org.ole.planet.myplanet" minSdkVersion 21 targetSdkVersion 34 - versionCode 1668 - versionName "0.16.68" + versionCode 1669 + versionName "0.16.69" ndkVersion '21.3.6528147' testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true diff --git a/app/src/main/java/org/ole/planet/myplanet/ui/sync/LoginActivity.kt b/app/src/main/java/org/ole/planet/myplanet/ui/sync/LoginActivity.kt index b29fabd589..2941417eb5 100644 --- a/app/src/main/java/org/ole/planet/myplanet/ui/sync/LoginActivity.kt +++ b/app/src/main/java/org/ole/planet/myplanet/ui/sync/LoginActivity.kt @@ -257,7 +257,7 @@ class LoginActivity : SyncActivity(), TeamListAdapter.OnItemClickListener { fun getTeamMembers() { selectedTeamId = prefData.getSELECTEDTEAMID().toString() if (selectedTeamId?.isNotEmpty() == true) { - users = RealmMyTeam.getUsers(selectedTeamId, mRealm, "") + users = RealmMyTeam.getUsers(selectedTeamId, mRealm, "membership") val userList = (users as? MutableList)?.map { User(it.name ?: "", it.name ?: "", "", it.userImage ?: "", "team") } ?: emptyList()