mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Fix typo
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ class SharedPrefsMigrationScreenStore @Inject constructor(
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun SessionId.toKey(): String {
|
private fun SessionId.toKey(): String {
|
||||||
// Hash the sessionId to get ride of exotic char and take only the first 16 chars,
|
// Hash the sessionId to get rid of exotic char and take only the first 16 chars,
|
||||||
// The risk of collision is not high.
|
// The risk of collision is not high.
|
||||||
return IS_MIGRATION_SCREEN_SHOWN_PREFIX + value.hash().take(16)
|
return IS_MIGRATION_SCREEN_SHOWN_PREFIX + value.hash().take(16)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user