Skip to content

Commit

Permalink
fix: CipherStorage: FacebookConceal - revert helper methods for prefi…
Browse files Browse the repository at this point in the history
…x to remove spacing to match previous Java implementation

- Updated createPasswordEntity and createUsernameEntity in CipherStorageFacebookConceal to remove the unnecessary space after the prefix. Now both match the Java implementation.

- Resolves: oblador#704

Co-authored-by: George Bell <[email protected]>
  • Loading branch information
Bowlerr and george-g-y-b committed Jan 16, 2025
1 parent e9f6ac4 commit 49b1617
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,13 @@ class CipherStorageFacebookConceal(reactContext: ReactApplicationContext) :

private fun createUsernameEntity(alias: String): Entity {
val prefix = getEntityPrefix(alias)
return Entity.create("$prefix user")
return Entity.create(prefix + "user")
}


private fun createPasswordEntity(alias: String): Entity {
val prefix = getEntityPrefix(alias)
return Entity.create("$prefix pass")
return Entity.create(prefix + "pass")
}


Expand Down

0 comments on commit 49b1617

Please sign in to comment.