mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-28 11:49:56 +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(
|
||||
BuildConfig.VERSION_CODE,
|
||||
context.prefs().getString(Settings.PREF_LIBRARY_CHECKSUM, "")!!,
|
||||
userId,
|
||||
targetWord,
|
||||
listOf(), // todo: this is annoying to create... and currently not relevant
|
||||
|
@ -423,6 +424,7 @@ private class WordData(
|
|||
@Serializable
|
||||
private data class GestureData(
|
||||
val appVersionCode: Int,
|
||||
val libraryHash: String,
|
||||
val uid: String,
|
||||
val targetWord: String,
|
||||
val precedingWords: List<String>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue