Fixed a bug with pin code on 2018-01-24

The button to access pin code menu after entering the correct code was likely removed in this client.
It was rendered in between all the characters if we send out the PASSED state instead of the OK state.

Thanks to Bruno
This commit is contained in:
Lemongrass3110 2018-02-10 02:31:29 +01:00
parent afab80fb6e
commit 9d4fa62e65

View File

@ -101,7 +101,12 @@ enum pincode_state : uint8 {
#if 0
PINCODE_KSSN = 6, // Not supported since we do not store KSSN
#endif
#if PACKETVER >= 20180124
// The button for pin code access was removed
PINCODE_PASSED = PINCODE_OK,
#else
PINCODE_PASSED = 7,
#endif
PINCODE_WRONG = 8,
PINCODE_MAXSTATE
};