alpha-wallet-ios icon indicating copy to clipboard operation
alpha-wallet-ios copied to clipboard

PasscodeCharacterView behaves abnormally in dark mode

Open Saif-Fazlani opened this issue 3 years ago • 3 comments
trafficstars

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

Saif-Fazlani avatar May 11 '22 13:05 Saif-Fazlani

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.

hboon avatar May 11 '22 14:05 hboon

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.

Saif-Fazlani avatar May 11 '22 15:05 Saif-Fazlani

@eviltofu see if there's a simple fix?

hboon avatar May 12 '22 05:05 hboon