diff --git a/android/src/main/java/app/shosetsu/android/ui/categories/CategoriesController.kt b/android/src/main/java/app/shosetsu/android/ui/categories/CategoriesController.kt index 2d9d40de4..728a64234 100644 --- a/android/src/main/java/app/shosetsu/android/ui/categories/CategoriesController.kt +++ b/android/src/main/java/app/shosetsu/android/ui/categories/CategoriesController.kt @@ -24,21 +24,11 @@ import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.appcompat.app.AlertDialog -import androidx.compose.foundation.layout.Arrangement -import androidx.compose.foundation.layout.Column -import androidx.compose.foundation.layout.PaddingValues -import androidx.compose.foundation.layout.Row -import androidx.compose.foundation.layout.fillMaxSize -import androidx.compose.foundation.layout.fillMaxWidth -import androidx.compose.foundation.layout.padding +import androidx.compose.foundation.layout.* import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.items import androidx.compose.foundation.lazy.rememberLazyListState -import androidx.compose.material.Card -import androidx.compose.material.Icon -import androidx.compose.material.IconButton -import androidx.compose.material.MaterialTheme -import androidx.compose.material.Text +import androidx.compose.material.* import androidx.compose.runtime.Composable import androidx.compose.runtime.collectAsState import androidx.compose.runtime.getValue @@ -47,17 +37,17 @@ import androidx.compose.ui.Modifier import androidx.compose.ui.platform.ComposeView import androidx.compose.ui.res.painterResource import androidx.compose.ui.unit.dp +import app.shosetsu.android.R import app.shosetsu.android.common.ext.logE import app.shosetsu.android.common.ext.makeSnackBar import app.shosetsu.android.common.ext.viewModel +import app.shosetsu.android.databinding.CategoriesAddBinding import app.shosetsu.android.view.compose.ShosetsuCompose import app.shosetsu.android.view.controller.ShosetsuController import app.shosetsu.android.view.controller.base.ExtendedFABController import app.shosetsu.android.view.controller.base.syncFABWithCompose import app.shosetsu.android.view.uimodels.model.CategoryUI import app.shosetsu.android.viewmodel.abstracted.ACategoriesViewModel -import com.github.doomsdayrs.apps.shosetsu.R -import com.github.doomsdayrs.apps.shosetsu.databinding.CategoriesAddBinding import kotlinx.coroutines.flow.Flow class CategoriesController : ShosetsuController(), ExtendedFABController {