2022-04-27 14:36:16 +02:00
|
|
|
package eu.kanade.presentation.components
|
|
|
|
|
|
|
|
import androidx.compose.foundation.layout.Box
|
|
|
|
import androidx.compose.foundation.layout.fillMaxSize
|
|
|
|
import androidx.compose.foundation.layout.size
|
|
|
|
import androidx.compose.material3.CircularProgressIndicator
|
|
|
|
import androidx.compose.runtime.Composable
|
2022-04-28 05:54:51 -07:00
|
|
|
import androidx.compose.ui.Alignment
|
2022-04-27 14:36:16 +02:00
|
|
|
import androidx.compose.ui.Modifier
|
|
|
|
import androidx.compose.ui.unit.dp
|
|
|
|
|
|
|
|
@Composable
|
|
|
|
fun LoadingScreen() {
|
2022-04-28 05:54:51 -07:00
|
|
|
Box(
|
|
|
|
modifier = Modifier.fillMaxSize(),
|
|
|
|
contentAlignment = Alignment.Center,
|
|
|
|
) {
|
2022-04-27 14:36:16 +02:00
|
|
|
CircularProgressIndicator(modifier = Modifier.size(64.dp))
|
|
|
|
}
|
|
|
|
}
|