alpha-wallet-ios
alpha-wallet-ios copied to clipboard
PasscodeCharacterView behaves abnormally in dark mode
Hi, I'm working on a fork of AlphaWallet. I've recently modified the PasscodeCharacterView, specifically the size of circle and hyphen. It works totally fine but when I switch the app from light to dark OR dark to light mode, the UI messes up. Attaching short screen recording below.
https://user-images.githubusercontent.com/96777132/167860725-56fabf0e-e6c5-4035-bee8-fba83d53d0fe.mp4
Is this after removing UIUserInterfaceStyle=Light from Info.plist?
the UI messes up.
I'm not sure what is wrong here. Can you elaborate? We haven't implemented Dark Mode yet, but we plan to.
Yes. I removed UIUserInterfaceStyle=Light from Info.plist, so that the app may adapt to dark mode. As you can see, once I enter a character, the hyphen gets removed and a circle appears in its place. But, when I switch the app to dark mode, the hyphen also appears with the circle.
@eviltofu see if there's a simple fix?