Commit Graph

35 Commits

Author SHA1 Message Date
Davide De Rosa
b5710cd84b Use .current instead of Theme.current
Class name is redundant for static members.
2019-10-25 19:31:02 +02:00
Davide De Rosa
03649b56f3 Use theme accent for cell checkmarks
Probably a regression after Convenience integration.
2019-10-25 19:31:01 +02:00
Davide De Rosa
5387f7c597 Use consistent case in pool subtitle 2019-10-23 18:53:27 +02:00
Davide De Rosa
2cd6677e16 Replace with Convenience entities
- About
- Alerts
- Dialogs
- InApp
- Reviewer
- SingleOptionViewController
- StrongTableModel
2019-10-11 12:43:05 +02:00
Davide De Rosa
282728ae1e Move app-related strings in
Move Core strings to app target.

SwiftGen uses same bundle by default. No problem because Core
does not (and should not) any string internally.
2019-06-23 00:11:56 +02:00
Davide De Rosa
84eb9d09c4 Rename Core targets
Fix import in Core umbrella header.
2019-05-27 00:13:33 +02:00
Davide De Rosa
027bf82208 Store category groups as a list
Map complexity is of no use.

Update JSON (stub).
2019-04-26 13:48:26 +02:00
Davide De Rosa
1c868bf460 Sort categories by case-insensitive name 2019-04-25 23:59:37 +02:00
Davide De Rosa
381668ebed Prioritize pool sorting by num 2019-04-25 21:30:43 +02:00
Davide De Rosa
a12cecb647 Fix Pool.secondaryId and use it for sorting
Account for extraCountries.
2019-04-25 21:30:43 +02:00
Davide De Rosa
d9a0ebd923 Upgrade API to v2 (entities) 2019-04-25 21:30:43 +02:00
Davide De Rosa
cf8f0984a3 Cache pool models, do not rebuild each time
Invalidate on new infrastructure.
2019-04-11 23:38:16 +02:00
Davide De Rosa
d264c0089d Pick random server number on simple selection 2019-04-11 23:38:16 +02:00
Davide De Rosa
4add7a695c Migrate to Swift 5
Last time was probably incomplete.
2019-04-11 16:51:12 +02:00
Davide De Rosa
89d259e27d Sort Pool only when listed as Options
Normally it's PoolGroup who needs sorting.
2019-04-10 15:31:14 +02:00
Davide De Rosa
64e00fdadd Improve pool name in MoveToLocation intent 2019-04-07 16:03:25 +02:00
Davide De Rosa
6f7b06b7c7 Add PoolModel.isEmpty 2019-04-06 22:16:10 +02:00
Davide De Rosa
969b19361b Drop checkmark in pools
For self consistency.
2019-04-06 21:17:07 +02:00
Davide De Rosa
4343c99b10 Create a section for free and paid servers
No section if only one exists.
2019-04-06 21:13:21 +02:00
Davide De Rosa
b3eea07ee1 Select row when pool group is disclosable
No checkmark. Ugly yet the lesser evil.
2019-04-06 20:15:33 +02:00
Davide De Rosa
a63525c19a Add detail/disclosure to pool group
- Disclosure: select first (default)
- Detail: show options
2019-04-06 16:46:39 +02:00
Davide De Rosa
5bb3a49a84 Disclose if poolGroup is > 1
List pool server numbers and pop to delegate.
2019-04-06 16:46:38 +02:00
Davide De Rosa
8db2b70e65 Set current pool atomically with pools 2019-04-06 16:45:46 +02:00
Davide De Rosa
8d3a5d747d Convert table model to PoolGroup 2019-04-06 16:20:01 +02:00
Davide De Rosa
8fd5a74dc4 Show AreaID (Area + Num) in pool selector
Rename localizedCountryArea to localizedId.
2019-04-06 16:19:34 +02:00
Davide De Rosa
a4a82fbd03 Fix table pre-scrolling to selection
iOS is broken, must wrap in a DispatchQueue.main.async
2019-04-05 12:46:50 +02:00
Davide De Rosa
451ab07796 Use subtitle cell in pools 2019-04-05 12:06:26 +02:00
Davide De Rosa
7d417e14ee Add pool country flags 2019-04-05 11:59:39 +02:00
Davide De Rosa
15f23dd448 Retain Pool.name internally but show .localizedName
Use name from API if available (XXX: not localized).

Make it private to avoid unintended use in app.
2019-03-21 22:21:42 +01:00
Davide De Rosa
3eb9c6ae98 Localize Pool via country code + area 2019-03-21 22:21:42 +01:00
Davide De Rosa
5237aa3916 Import Core framework into iOS target 2019-03-18 11:52:19 +01:00
Davide De Rosa
7a21338042 Update copyright 2019-03-09 11:44:44 +01:00
Davide De Rosa
9e7c4960e5 Update GitHub URL in license preamble 2018-11-04 10:53:16 +01:00
Davide De Rosa
5c0738b136 Apply accent color to accessory checkmarks 2018-10-15 00:11:46 +02:00
Davide De Rosa
b9ec01945d Initial commit 2018-10-11 09:13:19 +02:00