mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-15 15:02:49 +01:00
fix:conflict.
Signed-off-by: KaiserBh <kaiserbh@proton.me>
This commit is contained in:
parent
70452acdda
commit
536c5facb9
@ -75,7 +75,7 @@ class SyncManager(
|
|||||||
backupManager.backupMangas(databaseManga, BACKUP_ALL),
|
backupManager.backupMangas(databaseManga, BACKUP_ALL),
|
||||||
backupManager.backupCategories(BACKUP_ALL),
|
backupManager.backupCategories(BACKUP_ALL),
|
||||||
emptyList(),
|
emptyList(),
|
||||||
backupManager.backupExtensionInfo(databaseManga),
|
backupManager.prepExtensionInfoForSync(databaseManga),
|
||||||
)
|
)
|
||||||
|
|
||||||
// Create the SyncStatus object
|
// Create the SyncStatus object
|
||||||
@ -215,7 +215,7 @@ class SyncManager(
|
|||||||
localChapter.last_page_read != remoteChapter.lastPageRead ||
|
localChapter.last_page_read != remoteChapter.lastPageRead ||
|
||||||
localChapter.date_fetch != remoteChapter.dateFetch ||
|
localChapter.date_fetch != remoteChapter.dateFetch ||
|
||||||
localChapter.date_upload != remoteChapter.dateUpload ||
|
localChapter.date_upload != remoteChapter.dateUpload ||
|
||||||
localChapter.chapter_number != remoteChapter.chapterNumber ||
|
localChapter.chapter_number.toFloat() != remoteChapter.chapterNumber ||
|
||||||
localChapter.source_order != remoteChapter.sourceOrder
|
localChapter.source_order != remoteChapter.sourceOrder
|
||||||
} ?: true
|
} ?: true
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,7 @@ class SyncNotifier(private val context: Context) {
|
|||||||
|
|
||||||
fun showSyncProgress(content: String = "", progress: Int = 0, maxAmount: Int = 100): NotificationCompat.Builder {
|
fun showSyncProgress(content: String = "", progress: Int = 0, maxAmount: Int = 100): NotificationCompat.Builder {
|
||||||
val builder = with(progressNotificationBuilder) {
|
val builder = with(progressNotificationBuilder) {
|
||||||
setContentTitle(context.getString(R.string.syncing_data))
|
setContentTitle(context.getString(R.string.syncing_library))
|
||||||
|
|
||||||
if (!preferences.hideNotificationContent().get()) {
|
if (!preferences.hideNotificationContent().get()) {
|
||||||
setContentText(content)
|
setContentText(content)
|
||||||
|
@ -509,8 +509,8 @@
|
|||||||
<!-- Sync section -->
|
<!-- Sync section -->
|
||||||
<string name="syncing_library">Syncing library</string>
|
<string name="syncing_library">Syncing library</string>
|
||||||
<string name="library_sync_complete">Library sync complete</string>
|
<string name="library_sync_complete">Library sync complete</string>
|
||||||
<string name="sync_error">Syncing data failed</string>
|
<string name="sync_error">Syncing library failed</string>
|
||||||
<string name="sync_complete">Syncing data complete</string>
|
<string name="sync_complete">Syncing library complete</string>
|
||||||
<string name="sync_in_progress">Sync is already in progress</string>
|
<string name="sync_in_progress">Sync is already in progress</string>
|
||||||
<string name="pref_sync_device_name">Device name</string>
|
<string name="pref_sync_device_name">Device name</string>
|
||||||
<string name="pref_sync_device_name_summ">Enter a name for this device</string>
|
<string name="pref_sync_device_name_summ">Enter a name for this device</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user