๐Ÿ”— Redirect Bluesky links to your preferred client
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(shared): remove patreon stuff

Turtlepaw ee79a32c c7ef20df

-33
-33
shared/src/main/java/dev/zwander/shared/components/FooterLayout.kt
··· 44 44 import dev.zwander.shared.util.rememberMutablePreferenceState 45 45 import kotlinx.coroutines.Dispatchers 46 46 import kotlinx.coroutines.launch 47 - import tk.zwander.patreonsupportersretrieval.view.SupporterView 48 47 49 48 private data class FooterButton( 50 49 @StringRes val labelRes: Int, ··· 63 62 val context = LocalContext.current 64 63 65 64 var showingSettingsDialog by remember { 66 - mutableStateOf(false) 67 - } 68 - var showingSupportersDialog by remember { 69 65 mutableStateOf(false) 70 66 } 71 67 var showingShizukuResetDialog by remember { ··· 131 127 } 132 128 } 133 129 134 - if (showingSupportersDialog) { 135 - SupportersDialog { 136 - showingSupportersDialog = false 137 - } 138 - } 139 - 140 130 if (showingShizukuResetDialog) { 141 131 ShizukuResetDialog { 142 132 showingShizukuResetDialog = false 143 133 } 144 134 } 145 - } 146 - 147 - @Composable 148 - private fun SupportersDialog( 149 - onDismissRequest: () -> Unit, 150 - ) { 151 - AlertDialog( 152 - onDismissRequest = onDismissRequest, 153 - title = { 154 - Text(text = stringResource(id = R.string.supporters)) 155 - }, 156 - text = { 157 - AndroidView( 158 - factory = { SupporterView(it) }, 159 - modifier = Modifier.fillMaxWidth(), 160 - ) 161 - }, 162 - confirmButton = { 163 - TextButton(onClick = onDismissRequest) { 164 - Text(text = stringResource(id = android.R.string.ok)) 165 - } 166 - }, 167 - ) 168 135 } 169 136 170 137 @Composable