forked from penguin86/luna-tracker
Compare commits
1 Commits
bottle_tim
...
9ed9964f69
| Author | SHA1 | Date | |
|---|---|---|---|
| 9ed9964f69 |
@@ -695,9 +695,6 @@ class MainActivity : AppCompatActivity() {
|
||||
var nextEvent = getNextSameEvent(current, templates)
|
||||
|
||||
notesET.setText(current.notes)
|
||||
if (useQuantity) {
|
||||
qtyET.setText(current.quantity.toString())
|
||||
}
|
||||
|
||||
if (nextEvent == null && current != event) {
|
||||
nextEvent = event
|
||||
@@ -706,9 +703,6 @@ class MainActivity : AppCompatActivity() {
|
||||
if (nextEvent != null) {
|
||||
nextTextView.setOnClickListener {
|
||||
notesET.setText(nextEvent.notes)
|
||||
if (useQuantity) {
|
||||
qtyET.setText(nextEvent.quantity.toString())
|
||||
}
|
||||
updateContent(nextEvent)
|
||||
}
|
||||
nextTextView.alpha = 1.0f
|
||||
@@ -720,9 +714,6 @@ class MainActivity : AppCompatActivity() {
|
||||
if (prevEvent != null) {
|
||||
prevTextView.setOnClickListener {
|
||||
notesET.setText(prevEvent.notes)
|
||||
if (useQuantity) {
|
||||
qtyET.setText(prevEvent.quantity.toString())
|
||||
}
|
||||
updateContent(prevEvent)
|
||||
}
|
||||
prevTextView.alpha = 1.0f
|
||||
|
||||
Reference in New Issue
Block a user