1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-06-26 10:36:21 +02:00

fix state comparison (value vs instance) (#1063)

This commit is contained in:
Matt Portune 2020-09-09 11:51:28 -04:00 committed by GitHub
parent 5e680531da
commit f68db90b1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ namespace Bit.iOS.Core.Services
{
var state = GetState();
return FromBase64(oldState) == state;
return FromBase64(oldState).Equals(state);
}
}