Fix typo
This commit is contained in:
parent
4b37ea1a2d
commit
c821cb5c29
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ class UserPushStoreDataStore(
|
|||
private val context: Context,
|
||||
userId: SessionId,
|
||||
) : 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.
|
||||
private val preferenceName = "push_store_${userId.value.hash().take(16)}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue