Add comment

This commit is contained in:
Naveen 2023-07-09 23:30:42 +05:30
parent be7e4c3730
commit 34745432f4
No known key found for this signature in database
GPG key ID: 0E155DAD31671DA3

View file

@ -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() }