CreatureSurvive / consolidation

Consolidation is a mobile substrate tweak that allows you to sort and manage your notifications in both the LockScreen and Notification Center on iOS 10 devices
https://www.creaturecoding.com/depictions/cydia/?p=consolidation
MIT License
1 stars 0 forks source link

Keyboard on type-in number settings shows a comma, can't type a period #27

Closed Vermoot closed 6 years ago

Vermoot commented 6 years ago

My phone's main language is French, and I suppose it might be why the number keypad on "Corner Radius", "Vertical Adjustment", etc settings shows a comma (as we use commas for decimal points in french) instead of a period, and the tweak doesn't understand "0,3" as a valid corner radius as opposed to "0.3".

I guess you could either force the keypad to have a period instead of a comma on relevant languages, or make the tweak understand commas as a decimal point.

CreatureSurvive commented 6 years ago

Hmm, I was not aware that some languages use commas rather than periods for decimals. Unfortunately IOS doesn't really offer any official way of dealing with this issue, and we can't modify the keyboard either. So I'll fix this by adding support for comma separated decimals in my preference library. That way users who are accustom to using commas can continue to do so. I'll hopefully have this fixed today.

Vermoot commented 6 years ago

Awesome, thank you!

CreatureSurvive commented 6 years ago

@Rougemoot so I wasn't able to go through with the fix I had mentioned earlier, I ran into some issues with that approach. However, I have implemented a solution, for languages that use a character other than . they will get a regular number keypad with no decimal, then I've added a period to the toolbar that they can use. img_0558