* Add clear button to the labels and milestone action menu
* Move the selection count in the PeopleViewController into the title
Add a clear button to the people controller
* Remove mock return for testing action menu
* Add "Clear" string constant
Remove unused Protocol
* Setup the clear enabled state and the Poeple title correctly on init
* Order repo branches after fetch
- added func to order branches + unit tests
- replaced 'var branch: String' w/ 'private(set) var selectedBranch: String'
& added a defaultBranch variable
- changed fetch(page:) to update(animated:) in didSelect(value:) - an oversight from original pr
* AX animation
* change repo branch
additions:
- A change-repository-branch workflow thats very similar to the workflow in Milestones
- GraphQL query to fetch a repo's branches
modifications:
- a mutable "branch" string in RepositoryOverviewController and RepositoryCodeDirectoryViewController
- updated the V3RepositoryReadME fetch to include a branch parameter
- a protocol RepositoryBranchUpdatable to flag and update the appropriate ViewControllers when a user switches branches
- ContextMenu and UIAlertAction setup
- Removed some outdated code to get a repo's branch name from fetch(page:) in RepositoryOverviewViewController
- Added a line feed.adapter.reloadData() in fetch(page:) because app was crashing intermittently after a user switched branches without that line - was always an IGListKit duplicate identifier error on StyledTextRenderers - to reproduce, remove the feed.adapter.reloadData(), go to https://github.com/TheAlgorithms/Python, try to switch branches and the app will crash. I'm working raising an issue for it.
* requested changes
- changed public var to private(set) for var branch: String
- removed wasteful feed.adapter.reloadData() call
- re-formated params in switchBranchAction()
* style nit
* Set API Status cell textColor to custom (Matching the rest of the settings page)
* Updated Double Tap Reaction off color to custom
* Updated Enabled textColor to custom
* Updated reaction textColors to proper custom
* Switched all labels to settingsLabels