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)
|
var nextEvent = getNextSameEvent(current, templates)
|
||||||
|
|
||||||
notesET.setText(current.notes)
|
notesET.setText(current.notes)
|
||||||
if (useQuantity) {
|
|
||||||
qtyET.setText(current.quantity.toString())
|
|
||||||
}
|
|
||||||
|
|
||||||
if (nextEvent == null && current != event) {
|
if (nextEvent == null && current != event) {
|
||||||
nextEvent = event
|
nextEvent = event
|
||||||
@@ -706,9 +703,6 @@ class MainActivity : AppCompatActivity() {
|
|||||||
if (nextEvent != null) {
|
if (nextEvent != null) {
|
||||||
nextTextView.setOnClickListener {
|
nextTextView.setOnClickListener {
|
||||||
notesET.setText(nextEvent.notes)
|
notesET.setText(nextEvent.notes)
|
||||||
if (useQuantity) {
|
|
||||||
qtyET.setText(nextEvent.quantity.toString())
|
|
||||||
}
|
|
||||||
updateContent(nextEvent)
|
updateContent(nextEvent)
|
||||||
}
|
}
|
||||||
nextTextView.alpha = 1.0f
|
nextTextView.alpha = 1.0f
|
||||||
@@ -720,9 +714,6 @@ class MainActivity : AppCompatActivity() {
|
|||||||
if (prevEvent != null) {
|
if (prevEvent != null) {
|
||||||
prevTextView.setOnClickListener {
|
prevTextView.setOnClickListener {
|
||||||
notesET.setText(prevEvent.notes)
|
notesET.setText(prevEvent.notes)
|
||||||
if (useQuantity) {
|
|
||||||
qtyET.setText(prevEvent.quantity.toString())
|
|
||||||
}
|
|
||||||
updateContent(prevEvent)
|
updateContent(prevEvent)
|
||||||
}
|
}
|
||||||
prevTextView.alpha = 1.0f
|
prevTextView.alpha = 1.0f
|
||||||
|
|||||||
Reference in New Issue
Block a user