Skip to content

Commit

Permalink
myLife: smoother error handling (fixes #5335)
Browse files Browse the repository at this point in the history
  • Loading branch information
huitk committed Feb 21, 2025
1 parent c2decd9 commit 391c62a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ class AdapterHealthExamination(private val context: Context, private val list: L
if (realmExamination != null) {
if (realmExamination.date >= time) { dialog.setButton(DialogInterface.BUTTON_NEUTRAL, context.getString(R.string.edit)) { _: DialogInterface?, _: Int ->
context.startActivity(Intent(context, AddExaminationActivity::class.java)
.putExtra("id", list[position]._id)
.putExtra("id", list!![position]._id)
.putExtra("userId", mh._id))
}
}
}
}
dialog.show()
Expand Down

0 comments on commit 391c62a

Please sign in to comment.