Skip to content

Commit

Permalink
teams: smoother last member (fixes #4814) (#4816)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <[email protected]>
  • Loading branch information
deeppp15 and dogi authored Dec 2, 2024
1 parent b9f77df commit cd44ec5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "org.ole.planet.myplanet"
minSdkVersion 26
targetSdkVersion 34
versionCode 2113
versionName "0.21.13"
versionCode 2114
versionName "0.21.14"
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 @@ -79,7 +79,7 @@ class AdapterJoinedMember(private val context: Context, private val list: List<R
overflowMenuOptions: Array<String>,
isLoggedInUserTeamLeader: Boolean
) {
if (isLoggedInUserTeamLeader) {
if (isLoggedInUserTeamLeader && list.size>1) {
rowJoinedUserBinding.icMore.visibility = View.VISIBLE
rowJoinedUserBinding.icMore.setOnClickListener {
val builder = AlertDialog.Builder(context, R.style.AlertDialogTheme)
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
<string name="showing_reply_of">Showing reply of:</string>
<string name="open_date">Open Date</string>
<string name="my_survey">mySurvey</string>
<string name="cannot_remove_user">User couldnot be removed</string>
<string name="cannot_remove_user">User could not be removed</string>
<string name="no_members_task">No Team members present to assign tasks</string>
<string name="no_member_selected">No member selected. Please try again</string>
<string-array name="level">
Expand Down

0 comments on commit cd44ec5

Please sign in to comment.