add gesture library hash to data

This commit is contained in:
Helium314 2025-06-03 06:08:09 +02:00
parent a404615941
commit 8b3bcea134

View file

@ -407,6 +407,7 @@ private class WordData(
) )
val data = GestureData( val data = GestureData(
BuildConfig.VERSION_CODE, BuildConfig.VERSION_CODE,
context.prefs().getString(Settings.PREF_LIBRARY_CHECKSUM, "")!!,
userId, userId,
targetWord, targetWord,
listOf(), // todo: this is annoying to create... and currently not relevant listOf(), // todo: this is annoying to create... and currently not relevant
@ -423,6 +424,7 @@ private class WordData(
@Serializable @Serializable
private data class GestureData( private data class GestureData(
val appVersionCode: Int, val appVersionCode: Int,
val libraryHash: String,
val uid: String, val uid: String,
val targetWord: String, val targetWord: String,
val precedingWords: List<String>, val precedingWords: List<String>,