chore: restore the debug modify

This commit is contained in:
CMK 2022-07-15 04:03:56 +08:00
parent 65dcf7d6c2
commit c093e0a80d
1 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ import Combine
import XLPagerTabStrip
import TabBarPager
import MastodonAsset
import MastodonUI
protocol ProfilePagingViewControllerDelegate: AnyObject {
func profilePagingViewController(_ viewController: ProfilePagingViewController, didScrollToPostCustomScrollViewContainerController customScrollViewContainerController: ScrollViewContainer, atIndex index: Int)
@ -66,7 +67,7 @@ extension ProfilePagingViewController {
override func viewDidLoad() {
// configure style before viewDidLoad
settings.style.buttonBarBackgroundColor = .red // ThemeService.shared.currentTheme.value.systemBackgroundColor
settings.style.buttonBarBackgroundColor = ThemeService.shared.currentTheme.value.systemBackgroundColor
settings.style.buttonBarItemBackgroundColor = .clear
settings.style.buttonBarItemsShouldFillAvailableWidth = false // alignment from leading to trailing
settings.style.selectedBarHeight = 3