mirror of
https://github.com/bitwarden/android.git
synced 2024-11-01 23:54:06 +03:00
36 lines
1.1 KiB
Kotlin
36 lines
1.1 KiB
Kotlin
|
package com.x8bit.bitwarden
|
||
|
|
||
|
import android.os.Bundle
|
||
|
import androidx.activity.ComponentActivity
|
||
|
import androidx.activity.compose.setContent
|
||
|
import androidx.compose.foundation.layout.fillMaxSize
|
||
|
import androidx.compose.material3.MaterialTheme
|
||
|
import androidx.compose.material3.Surface
|
||
|
import androidx.compose.material3.Text
|
||
|
import androidx.compose.ui.Modifier
|
||
|
import androidx.compose.ui.res.stringResource
|
||
|
import com.x8bit.bitwarden.ui.theme.BitwardenTheme
|
||
|
import dagger.hilt.android.AndroidEntryPoint
|
||
|
|
||
|
/**
|
||
|
* Primary entry point for the application.
|
||
|
*/
|
||
|
@AndroidEntryPoint
|
||
|
class MainActivity : ComponentActivity() {
|
||
|
override fun onCreate(savedInstanceState: Bundle?) {
|
||
|
super.onCreate(savedInstanceState)
|
||
|
setContent {
|
||
|
BitwardenTheme {
|
||
|
Surface(
|
||
|
modifier = Modifier.fillMaxSize(),
|
||
|
color = MaterialTheme.colorScheme.background,
|
||
|
) {
|
||
|
Text(
|
||
|
text = stringResource(id = R.string.app_name),
|
||
|
)
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|