Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
85a026e93a |
@@ -50,7 +50,7 @@ import java.util.Date
|
||||
class MainActivity : AppCompatActivity() {
|
||||
companion object {
|
||||
const val TAG = "MainActivity"
|
||||
const val UPDATE_EVERY_SECS: Long = 30
|
||||
const val UPDATE_EVERY_SECS: Long = 60
|
||||
const val DEBUG_CHECK_LOGBOOK_CONSISTENCY = false
|
||||
// list of all events
|
||||
var allEvents = arrayListOf<LunaEvent>()
|
||||
@@ -69,7 +69,7 @@ class MainActivity : AppCompatActivity() {
|
||||
val updateListRunnable: Runnable = Runnable {
|
||||
if (logbook != null && !pauseLogbookUpdate)
|
||||
loadLogbook(logbook!!.name)
|
||||
handler.postDelayed(updateListRunnable, 1000 * 60)
|
||||
handler.postDelayed(updateListRunnable, 1000 * 30)
|
||||
}
|
||||
var logbookRepo: LogbookRepository? = null
|
||||
var showingOverflowPopupWindow = false
|
||||
|
||||
Reference in New Issue
Block a user