Browse Source

Fix typo

pull/1149/head
Benoit Marty 1 year ago
parent
commit
51d92ae6a8
  1. 2
      features/ftue/impl/src/main/kotlin/io/element/android/features/ftue/impl/migration/SharedPrefsMigrationScreenStore.kt

2
features/ftue/impl/src/main/kotlin/io/element/android/features/ftue/impl/migration/SharedPrefsMigrationScreenStore.kt

@ -49,7 +49,7 @@ class SharedPrefsMigrationScreenStore @Inject constructor( @@ -49,7 +49,7 @@ class SharedPrefsMigrationScreenStore @Inject constructor(
}
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.
return IS_MIGRATION_SCREEN_SHOWN_PREFIX + value.hash().take(16)
}

Loading…
Cancel
Save