mirror of
https://github.com/mihonapp/mihon.git
synced 2025-03-16 17:45:14 +01:00
Removing Comments
This commit is contained in:
parent
4e75adbeb5
commit
b3c1a683e7
@ -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,
|
||||||
) {
|
) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user