Pull out settings sheet items as reusable composables
(cherry picked from commit 7cbe18d325)
# Conflicts:
# app/src/main/java/eu/kanade/presentation/manga/ChapterSettingsDialog.kt
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user