20 lines
553 B
Kotlin
20 lines
553 B
Kotlin
|
package me.ash.reader
|
||
|
|
||
|
import android.os.Bundle
|
||
|
import androidx.activity.ComponentActivity
|
||
|
import androidx.activity.compose.setContent
|
||
|
import androidx.core.view.WindowCompat
|
||
|
import dagger.hilt.android.AndroidEntryPoint
|
||
|
import me.ash.reader.ui.page.common.HomeEntry
|
||
|
|
||
|
@AndroidEntryPoint
|
||
|
class MainActivity : ComponentActivity() {
|
||
|
|
||
|
override fun onCreate(savedInstanceState: Bundle?) {
|
||
|
super.onCreate(savedInstanceState)
|
||
|
WindowCompat.setDecorFitsSystemWindows(window, false)
|
||
|
setContent {
|
||
|
HomeEntry()
|
||
|
}
|
||
|
}
|
||
|
}
|