"ugly commas" insane
This commit is contained in:
parent
7c7313ca1a
commit
10fc17cefa
7 changed files with 12 additions and 12 deletions
|
|
@ -68,7 +68,7 @@ class MainActivity : ComponentActivity() {
|
|||
)
|
||||
is AppDestination.Install -> InstallerScreen(
|
||||
installData = destination.installData,
|
||||
onClickBack = navigator::pop,
|
||||
onClickBack = navigator::pop
|
||||
)
|
||||
is AppDestination.Settings -> SettingsScreen(
|
||||
onClickBack = navigator::pop
|
||||
|
|
|
|||
|
|
@ -35,9 +35,9 @@ object Signer {
|
|||
val certificate = keyStore.getCertificate(alias) as X509Certificate
|
||||
|
||||
ApkSigner.SignerConfig.Builder(
|
||||
/* name = */ "Aliucord Manager signer",
|
||||
/* privateKey = */ keyStore.getKey(alias, password) as PrivateKey,
|
||||
/* certificates = */ listOf(certificate),
|
||||
"Aliucord Manager signer",
|
||||
keyStore.getKey(alias, password) as PrivateKey,
|
||||
listOf(certificate)
|
||||
).build()
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import kotlinx.serialization.json.Json
|
|||
|
||||
class GithubService(
|
||||
private val httpClient: HttpClient,
|
||||
private val json: Json,
|
||||
private val json: Json
|
||||
) {
|
||||
suspend fun getCommits(page: Int): List<Commit> = withContext(Dispatchers.IO) {
|
||||
httpClient.get(COMMITS_URL) {
|
||||
|
|
|
|||
|
|
@ -111,13 +111,13 @@ fun PluginCard(
|
|||
)
|
||||
|
||||
Row(
|
||||
horizontalArrangement = Arrangement.spacedBy(10.dp),
|
||||
horizontalArrangement = Arrangement.spacedBy(10.dp)
|
||||
) {
|
||||
IconButton(
|
||||
modifier = Modifier.size(25.dp),
|
||||
onClick = {
|
||||
uriHandler.openUri(plugin.manifest.repositoryUrl)
|
||||
},
|
||||
}
|
||||
) {
|
||||
Icon(
|
||||
modifier = Modifier.fillMaxSize(),
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ fun MainRootScreen(
|
|||
IconButton(
|
||||
onClick = {
|
||||
localUriHandler.openUri("https://discord.gg/${BuildConfig.SUPPORT_SERVER}")
|
||||
},
|
||||
}
|
||||
) {
|
||||
Icon(
|
||||
painter = painterResource(R.drawable.ic_discord),
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ import org.koin.core.parameter.parametersOf
|
|||
data class InstallData(
|
||||
val downloadMethod: DownloadMethod,
|
||||
var baseApk: String? = null,
|
||||
var splits: List<String>? = null,
|
||||
var splits: List<String>? = null
|
||||
) : Parcelable
|
||||
|
||||
@OptIn(ExperimentalFoundationApi::class, ExperimentalMaterial3Api::class)
|
||||
|
|
@ -36,7 +36,7 @@ data class InstallData(
|
|||
fun InstallerScreen(
|
||||
installData: InstallData,
|
||||
onClickBack: () -> Unit,
|
||||
viewModel: InstallViewModel = getViewModel(parameters = { parametersOf(installData) }),
|
||||
viewModel: InstallViewModel = getViewModel(parameters = { parametersOf(installData) })
|
||||
) {
|
||||
val navigateMain by viewModel.returnToHome.collectAsState(initial = false)
|
||||
|
||||
|
|
|
|||
|
|
@ -112,12 +112,12 @@ fun PluginsScreen(
|
|||
}
|
||||
},
|
||||
keyboardOptions = KeyboardOptions(autoCorrect = false, imeAction = ImeAction.Search),
|
||||
keyboardActions = KeyboardActions { focusManager.clearFocus() },
|
||||
keyboardActions = KeyboardActions { focusManager.clearFocus() }
|
||||
)
|
||||
|
||||
LazyColumn(
|
||||
contentPadding = PaddingValues(bottom = 8.dp, top = 6.dp),
|
||||
verticalArrangement = Arrangement.spacedBy(8.dp),
|
||||
verticalArrangement = Arrangement.spacedBy(8.dp)
|
||||
) {
|
||||
items(
|
||||
viewModel.plugins.filter { plugin ->
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue