1
0
mirror of https://github.com/mihonapp/mihon.git synced 2025-03-20 19:39:53 +01:00

Commas :<

This commit is contained in:
Roshan Varughese 2024-12-25 23:54:05 +13:00
parent 87f50551c8
commit 0d4735630a
2 changed files with 3 additions and 3 deletions
app/src/main/java/eu/kanade
presentation/more/settings/screen
tachiyomi/data/export

@ -350,7 +350,7 @@ object SettingsDataScreen : SearchableSettings {
it,
favoritesState,
LibraryExporter.ExportOptions(titleSelected, authorSelected, artistSelected),
coroutineScope
coroutineScope,
) {
context.toast(MR.strings.library_exported)
}

@ -11,7 +11,7 @@ class LibraryExporter {
data class ExportOptions(
val includeTitle: Boolean,
val includeAuthor: Boolean,
val includeArtist: Boolean
val includeArtist: Boolean,
)
fun exportToCsv(
@ -20,7 +20,7 @@ class LibraryExporter {
favorites: List<Manga>,
options: ExportOptions,
coroutineScope: CoroutineScope,
onExportComplete: () -> Unit
onExportComplete: () -> Unit,
) {
coroutineScope.launch {
context.contentResolver.openOutputStream(uri)?.use { outputStream ->