Compare commits
1 Commits
c5188e4df9
...
f37089d96a
| Author | SHA1 | Date | |
|---|---|---|---|
| f37089d96a |
@@ -315,7 +315,9 @@ class MainActivity : AppCompatActivity() {
|
||||
nextTextView.visibility = View.VISIBLE
|
||||
nextTextView.setOnClickListener {
|
||||
notesET.setText(nextEvent.notes)
|
||||
qtyET.setText(nextEvent.quantity.toString())
|
||||
if (useQuantity) {
|
||||
qtyET.setText(nextEvent.quantity.toString())
|
||||
}
|
||||
update(nextEvent)
|
||||
}
|
||||
} else {
|
||||
@@ -326,7 +328,9 @@ class MainActivity : AppCompatActivity() {
|
||||
prevTextView.visibility = View.VISIBLE
|
||||
prevTextView.setOnClickListener {
|
||||
notesET.setText(prevEvent.notes)
|
||||
qtyET.setText(prevEvent.quantity.toString())
|
||||
if (useQuantity) {
|
||||
qtyET.setText(prevEvent.quantity.toString())
|
||||
}
|
||||
update(prevEvent)
|
||||
}
|
||||
} else {
|
||||
@@ -338,7 +342,9 @@ class MainActivity : AppCompatActivity() {
|
||||
|
||||
clearTextView.setOnClickListener {
|
||||
notesET.setText("")
|
||||
qtyET.setText("")
|
||||
if (useQuantity) {
|
||||
qtyET.setText("")
|
||||
}
|
||||
}
|
||||
|
||||
if (!useQuantity) {
|
||||
|
||||
Reference in New Issue
Block a user