mirror of
https://github.com/NeoApplications/Neo-Store.git
synced 2025-03-14 10:17:08 +00:00
Clean up
This commit is contained in:
@ -65,19 +65,19 @@ android {
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
named("debug") {
|
||||
debug {
|
||||
isMinifyEnabled = false
|
||||
isShrinkResources = false
|
||||
applicationIdSuffix = ".debug"
|
||||
resValue("string", "application_name", "Neo Store - Debug")
|
||||
}
|
||||
create("neo") {
|
||||
register("neo") {
|
||||
isMinifyEnabled = false
|
||||
isShrinkResources = false
|
||||
applicationIdSuffix = ".neo"
|
||||
resValue("string", "application_name", "Neo Store")
|
||||
}
|
||||
named("release") {
|
||||
release {
|
||||
isMinifyEnabled = true
|
||||
isShrinkResources = true
|
||||
resValue("string", "application_name", "Neo Store")
|
||||
|
@ -13,4 +13,4 @@ dependencyResolutionManagement {
|
||||
maven(url = "https://jitpack.io")
|
||||
}
|
||||
}
|
||||
rootProject.name = "Neo-Store"
|
||||
rootProject.name = "Neo Store"
|
@ -384,17 +384,17 @@ abstract class DatabaseX : RoomDatabase() {
|
||||
|
||||
val databaseModule = module {
|
||||
single { DatabaseX.getInstance(androidContext()) }
|
||||
factory { get<DatabaseX>().getRepositoryDao() }
|
||||
factory { get<DatabaseX>().getProductDao() }
|
||||
factory { get<DatabaseX>().getReleaseDao() }
|
||||
factory { get<DatabaseX>().getReleaseTempDao() }
|
||||
factory { get<DatabaseX>().getProductTempDao() }
|
||||
factory { get<DatabaseX>().getCategoryDao() }
|
||||
factory { get<DatabaseX>().getCategoryTempDao() }
|
||||
factory { get<DatabaseX>().getInstalledDao() }
|
||||
factory { get<DatabaseX>().getExtrasDao() }
|
||||
factory { get<DatabaseX>().getExodusInfoDao() }
|
||||
factory { get<DatabaseX>().getTrackerDao() }
|
||||
factory { get<DatabaseX>().getDownloadedDao() }
|
||||
factory { get<DatabaseX>().getInstallTaskDao() }
|
||||
single { get<DatabaseX>().getRepositoryDao() }
|
||||
single { get<DatabaseX>().getProductDao() }
|
||||
single { get<DatabaseX>().getReleaseDao() }
|
||||
single { get<DatabaseX>().getReleaseTempDao() }
|
||||
single { get<DatabaseX>().getProductTempDao() }
|
||||
single { get<DatabaseX>().getCategoryDao() }
|
||||
single { get<DatabaseX>().getCategoryTempDao() }
|
||||
single { get<DatabaseX>().getInstalledDao() }
|
||||
single { get<DatabaseX>().getExtrasDao() }
|
||||
single { get<DatabaseX>().getExodusInfoDao() }
|
||||
single { get<DatabaseX>().getTrackerDao() }
|
||||
single { get<DatabaseX>().getDownloadedDao() }
|
||||
single { get<DatabaseX>().getInstallTaskDao() }
|
||||
}
|
||||
|
@ -39,7 +39,6 @@ import com.machiav3lli.fdroid.MainApplication
|
||||
import com.machiav3lli.fdroid.content.Preferences
|
||||
import com.machiav3lli.fdroid.entity.Permission
|
||||
import com.machiav3lli.fdroid.ui.components.PermissionItem
|
||||
import com.machiav3lli.fdroid.ui.compose.utils.blockBorder
|
||||
import com.machiav3lli.fdroid.ui.navigation.NavRoute
|
||||
import com.machiav3lli.fdroid.utility.extension.android.Android
|
||||
import com.machiav3lli.fdroid.utility.isRunningOnTV
|
||||
@ -88,9 +87,8 @@ fun PermissionsPage(navController: NavHostController) {
|
||||
) { paddingValues ->
|
||||
LazyColumn(
|
||||
modifier = Modifier
|
||||
.blockBorder()
|
||||
.fillMaxSize()
|
||||
.padding(paddingValues),
|
||||
.padding(paddingValues)
|
||||
.fillMaxSize(),
|
||||
verticalArrangement = Arrangement.spacedBy(8.dp),
|
||||
contentPadding = PaddingValues(8.dp)
|
||||
) {
|
||||
|
Reference in New Issue
Block a user