Add comment
This commit is contained in:
parent
be7e4c3730
commit
34745432f4
1 changed files with 1 additions and 0 deletions
|
@ -188,6 +188,7 @@ class MainActivity : SimpleActivity() {
|
|||
private fun initActivity() {
|
||||
bus = EventBus.getDefault()
|
||||
bus!!.register(this)
|
||||
// trigger a scan first so that the fragments will accurately reflect the scanning state
|
||||
mediaScanner.scan()
|
||||
initFragments()
|
||||
sleep_timer_stop.setOnClickListener { stopSleepTimer() }
|
||||
|
|
Loading…
Reference in a new issue