Skip to content

Commit

Permalink
teams: smoother leaving (fixes #4764) (#4765)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <[email protected]>
  • Loading branch information
deeppp15 and dogi authored Nov 11, 2024
1 parent 1aa0933 commit b041986
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 @@ -10,8 +10,8 @@ android {
applicationId "org.ole.planet.myplanet"
minSdkVersion 26
targetSdkVersion 34
versionCode 2092
versionName "0.20.92"
versionCode 2093
versionName "0.20.93"
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 @@ -132,7 +132,7 @@ class AdapterTeamList(private val context: Context, private val list: List<Realm
if (RealmMyTeam.isTeamLeader(team.teamId, user?.id, mRealm)) {
teamListener?.onEditTeam(team)
} else {
AlertDialog.Builder(context).setMessage(R.string.confirm_exit)
AlertDialog.Builder(context, R.style.CustomAlertDialog).setMessage(R.string.confirm_exit)
.setPositiveButton(R.string.yes) { _: DialogInterface?, _: Int ->
team.leave(user, mRealm)
updateList()
Expand Down

0 comments on commit b041986

Please sign in to comment.