Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit 572596c

Browse files
natanrolnikBasThomas
authored andcommitted
Fix scroll indicator styles in menus (#2697)
More specifically, in Labels, Milestones, People and Branches view controllers
1 parent bfd48bc commit 572596c

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

Classes/Labels/LabelsViewController.swift

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ LabelSectionControllerDelegate {
3232
preferredContentSize = Styles.Sizes.contextMenuSize
3333
title = Constants.Strings.labels
3434
feed.collectionView.backgroundColor = Styles.Colors.menuBackgroundColor.color
35+
feed.collectionView.indicatorStyle = .white
3536
feed.setLoadingSpinnerColor(to: .white)
3637
dataSource = self
3738
}

Classes/Milestones/MilestonesViewController.swift

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ MilestoneSectionControllerDelegate {
4747
title = Constants.Strings.milestone
4848
preferredContentSize = Styles.Sizes.contextMenuSize
4949
feed.collectionView.backgroundColor = Styles.Colors.menuBackgroundColor.color
50+
feed.collectionView.indicatorStyle = .white
5051
feed.setLoadingSpinnerColor(to: .white)
5152
dataSource = self
5253
}

Classes/Notifications/Filter/InboxFilterReposViewController.swift

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ BaseListViewControllerDataSource {
2323
title = NSLocalizedString("Watched Repos", comment: "")
2424
preferredContentSize = Styles.Sizes.contextMenuSize
2525
feed.collectionView.backgroundColor = Styles.Colors.menuBackgroundColor.color
26+
feed.collectionView.indicatorStyle = .white
2627
feed.setLoadingSpinnerColor(to: .white)
2728
}
2829

Classes/People/PeopleViewController.swift

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ PeopleSectionControllerDelegate {
5050
self.dataSource = self
5151

5252
feed.collectionView.backgroundColor = Styles.Colors.menuBackgroundColor.color
53+
feed.collectionView.indicatorStyle = .white
5354
feed.setLoadingSpinnerColor(to: .white)
5455
preferredContentSize = Styles.Sizes.contextMenuSize
5556
updateTitle()

Classes/Repository/RepositoryBranches/RepositoryBranchesViewController.swift

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ RepositoryBranchSectionControllerDelegate {
3737
title = NSLocalizedString("Branches", comment: "")
3838
preferredContentSize = Styles.Sizes.contextMenuSize
3939
feed.collectionView.backgroundColor = Styles.Colors.menuBackgroundColor.color
40+
feed.collectionView.indicatorStyle = .white
4041
feed.setLoadingSpinnerColor(to: .white)
4142
dataSource = self
4243
}

0 commit comments

Comments
 (0)