Fix typo
This commit is contained in:
parent
fcb84016ca
commit
22a3b64f5f
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ class UserPushStoreDataStore(
|
||||||
private val context: Context,
|
private val context: Context,
|
||||||
userId: SessionId,
|
userId: SessionId,
|
||||||
) : UserPushStore {
|
) : UserPushStore {
|
||||||
// Hash the sessionId to get ride of exotic chars and take only the first 16 chars.
|
// Hash the sessionId to get rid of exotic chars and take only the first 16 chars.
|
||||||
// The risk of collision is not high.
|
// The risk of collision is not high.
|
||||||
private val preferenceName = "push_store_${userId.value.hash().take(16)}"
|
private val preferenceName = "push_store_${userId.value.hash().take(16)}"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue