Closed ghost closed 3 years ago
Indeed. I can confirm that this problem exists. This is most likely because the check here should've been index >= 0
instead of index > 0
.
Do you know why this is an issue on iOS, but not macOS? Don't they share the same code? Or is this country selector special?
On macOS, we use a pulldown menu, which is a standard UI component. On iOS, there's no equivalent UI component, so we show a separate view modally for allowing the user to make the selection. The bug is likely in that part of the code (you'll notice that the probably buggy line I mentioned earlier is within an #if os(iOS)
block).
Ah, right, I missed that. Thanks for explaining!
When trying to switch countries (Secure Internet), it seems the first element, in this case "Albania" can not be chosen. It will simply fail to switch to it and keep the old selection. It seems this may be a bug in the list implementation, off by one error?
iOS eduVPN 2.1.9 (1177).