Pull out settings sheet items as reusable composables

This commit is contained in:
arkon
2022-12-09 22:23:26 -05:00
parent 8937e22ce4
commit 7cbe18d325
3 changed files with 218 additions and 221 deletions
@@ -32,6 +32,11 @@ import androidx.compose.ui.util.fastForEachIndexed
import eu.kanade.tachiyomi.R
import kotlinx.coroutines.launch
object TabbedDialogPaddings {
val Horizontal = 24.dp
val Vertical = 8.dp
}
@Composable
fun TabbedDialog(
onDismissRequest: () -> Unit,
@@ -72,9 +77,7 @@ fun TabbedDialog(
}
}
tabOverflowMenuContent?.let {
MoreMenu(tabOverflowMenuContent)
}
tabOverflowMenuContent?.let { MoreMenu(it) }
}
Divider()