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") - } - } - } - } - } - } -}