Skip to content

Commit c13f0b8

Browse files
committed
build(deps): adopt new anki 25.09.2 and all backend deps updates
fix: add no-op implementation of new saveCustomColours backend TS func upstream PR notes mobile clients are intended to have a no-op implementation
1 parent e86a7c8 commit c13f0b8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

AnkiDroid/src/main/java/com/ichi2/anki/pages/PostRequestHandler.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ val collectionMethods =
9797
"getIgnoredBeforeCount" to { bytes -> getIgnoredBeforeCountRaw(bytes) },
9898
"getRetentionWorkload" to { bytes -> getRetentionWorkloadRaw(bytes) },
9999
"simulateFsrsWorkload" to { bytes -> simulateFsrsWorkloadRaw(bytes) },
100+
// https://github.com/ankitects/anki/pull/4326 -> saveCustomColours should be no-op in mobile clients
101+
"saveCustomColours" to { bytes -> backendIdentity(bytes) },
100102
)
101103

102104
suspend fun handleCollectionPostRequest(

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ androidxViewpager2 = "1.1.0"
5959
androidxWebkit = "1.14.0"
6060
# https://developer.android.com/jetpack/androidx/releases/work
6161
androidxWork = "2.10.5"
62-
ankiBackend = '0.1.61-anki25.09'
62+
ankiBackend = '0.1.62-anki25.09.2'
6363
autoService = "1.1.1"
6464
autoServiceAnnotations = "1.1.1"
6565
colorpicker = "1.2.0"

0 commit comments

Comments
 (0)