From 5e961e4ec71eb98b0874fa61d6b95d149f114e09 Mon Sep 17 00:00:00 2001 From: OTKUSteyler <90369564+OTKUSteyler@users.noreply.github.com> Date: Wed, 19 Nov 2025 22:34:56 +0100 Subject: [PATCH] Update AboutScreen.kt --- .../manager/ui/screens/about/AboutScreen.kt | 51 ------------------- 1 file changed, 51 deletions(-) diff --git a/app/src/main/kotlin/com/aliucord/manager/ui/screens/about/AboutScreen.kt b/app/src/main/kotlin/com/aliucord/manager/ui/screens/about/AboutScreen.kt index 92e7d7d..29dfc8e 100644 --- a/app/src/main/kotlin/com/aliucord/manager/ui/screens/about/AboutScreen.kt +++ b/app/src/main/kotlin/com/aliucord/manager/ui/screens/about/AboutScreen.kt @@ -95,54 +95,3 @@ fun AboutScreenContent(state: State) { text = stringResource(R.string.contributors_lead), modifier = Modifier.padding(top = 18.dp, bottom = 20.dp), ) - } - - item(key = "MAIN_CONTRIBUTORS") { - Row( - horizontalArrangement = Arrangement.SpaceEvenly, - verticalAlignment = Alignment.CenterVertically, - modifier = Modifier.fillMaxWidth(), - ) { - LeadContributor("C0C0B01", stringResource(R.string.lead_role_kettu)) - LeadContributor("kmmiio99o", stringResource(R.string.lead_role_shiggycord)) - LeadContributor("pylixonly", stringResource(R.string.lead_role_bunny)) - } - } - - item(key = "CONTRIBUTORS_DIVIDER") { - TextDivider( - text = stringResource(R.string.contributors), - modifier = Modifier.padding(top = 16.dp, bottom = 6.dp) - ) - } - - when (val state = state.value) { - AboutScreenState.Loading -> - item(key = "CONTRIBUTIONS_LOADING") { - Box( - contentAlignment = Alignment.Center, - content = { CircularProgressIndicator() }, - modifier = Modifier.fillMaxWidth().padding(vertical = 38.dp), - ) - } - AboutScreenState.Failure -> - item(key = "LOAD_FAILURE") { - LoadFailure(modifier = Modifier.fillMaxSize().padding(vertical = 38.dp)) - } - is AboutScreenState.Loaded -> { - // Render the two requested contributors as LeadContributor entries - item(key = "SELECTED_CONTRIBUTORS") { - Row( - horizontalArrangement = Arrangement.SpaceEvenly, - verticalAlignment = Alignment.CenterVertically, - modifier = Modifier.fillMaxWidth(), - ) { - LeadContributor("maisymoe", "Creator - Vendetta") - LeadContributor("rushiiMachine", "Manager - Creator") - } - } - } - } - } - } -}