Fixed tasks completion status error
This commit is contained in:
parent
a9e6ca6490
commit
d415657c79
1 changed files with 2 additions and 2 deletions
|
|
@ -67,9 +67,9 @@ class InfoBottomSheet : BottomSheetDialogFragment() {
|
||||||
binding.todoContentInfo.text = todoContent
|
binding.todoContentInfo.text = todoContent
|
||||||
binding.todoSubjectInfo.text = String.format(getString(R.string.info_subject), todoSubject)
|
binding.todoSubjectInfo.text = String.format(getString(R.string.info_subject), todoSubject)
|
||||||
if (todoState == 0) {
|
if (todoState == 0) {
|
||||||
binding.todoState.text = getString(R.string.info_state_complete)
|
|
||||||
} else {
|
|
||||||
binding.todoState.text = getString(R.string.info_state_incomplete)
|
binding.todoState.text = getString(R.string.info_state_incomplete)
|
||||||
|
} else {
|
||||||
|
binding.todoState.text = getString(R.string.info_state_complete)
|
||||||
}
|
}
|
||||||
if (GlobalValues.devMode) {
|
if (GlobalValues.devMode) {
|
||||||
binding.todoUuid.apply {
|
binding.todoUuid.apply {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue