Removing Comments

This commit is contained in:
Roshan Varughese 2024-08-29 23:15:32 +12:00
parent 410168a44a
commit 1048ccc7c1

View file

@ -344,7 +344,6 @@ object SettingsDataScreen : SearchableSettings {
uri?.let { uri?.let {
coroutineScope.launch { coroutineScope.launch {
context.contentResolver.openOutputStream(uri)?.use { outputStream -> context.contentResolver.openOutputStream(uri)?.use { outputStream ->
// Prepare CSV data
val csvData = buildString { val csvData = buildString {
favoritesState.forEach { manga -> favoritesState.forEach { manga ->
val title = if (titleSelected) escapeCsvField(manga.title) else "" val title = if (titleSelected) escapeCsvField(manga.title) else ""
@ -356,7 +355,6 @@ object SettingsDataScreen : SearchableSettings {
appendLine(row) appendLine(row)
} }
} }
// Write CSV data to output stream
outputStream.write(csvData.toByteArray()) outputStream.write(csvData.toByteArray())
outputStream.flush() outputStream.flush()
@ -418,7 +416,6 @@ object SettingsDataScreen : SearchableSettings {
}, },
text = { text = {
Column { Column {
// Title checkbox
Row( Row(
verticalAlignment = Alignment.CenterVertically, verticalAlignment = Alignment.CenterVertically,
) { ) {
@ -435,7 +432,6 @@ object SettingsDataScreen : SearchableSettings {
Text(text = stringResource(MR.strings.title)) Text(text = stringResource(MR.strings.title))
} }
// Author checkbox, disabled if Title is not selected
Row( Row(
verticalAlignment = Alignment.CenterVertically, verticalAlignment = Alignment.CenterVertically,
) { ) {
@ -447,7 +443,6 @@ object SettingsDataScreen : SearchableSettings {
Text(text = stringResource(MR.strings.author)) Text(text = stringResource(MR.strings.author))
} }
// Artist checkbox, disabled if Title is not selected
Row( Row(
verticalAlignment = Alignment.CenterVertically, verticalAlignment = Alignment.CenterVertically,
) { ) {