Skip to content

Commit

Permalink
login: smoother team list (fixes #3771) (#3809)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <[email protected]>
  • Loading branch information
strawberrybread and dogi authored Jul 10, 2024
1 parent 73da5b0 commit b1a892b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<RealmUserModel>)?.map {
User(it.name ?: "", it.name ?: "", "", it.userImage ?: "", "team")
} ?: emptyList()
Expand Down

0 comments on commit b1a892b

Please sign in to comment.