mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-28 19:59:55 +00:00
add gesture library hash to data
This commit is contained in:
parent
a404615941
commit
8b3bcea134
1 changed files with 2 additions and 0 deletions
|
@ -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>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue