Skip to content

Commit

Permalink
Removing MultiLineButton class and associated style.
Browse files Browse the repository at this point in the history
  • Loading branch information
singhhari committed Dec 21, 2020
1 parent ae3025e commit 41c1a79
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 35 deletions.
24 changes: 0 additions & 24 deletions Kickstarter-iOS/Views/MultiLineButton.swift

This file was deleted.

4 changes: 0 additions & 4 deletions Kickstarter.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,6 @@
77BC00F02326F0CC00808E75 /* PKPaymentRequestHelpersTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 77BC00EF2326F0CC00808E75 /* PKPaymentRequestHelpersTests.swift */; };
77BC00F623301BD400808E75 /* RewardCellViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 77BC00F523301BD300808E75 /* RewardCellViewModel.swift */; };
77BC00F82330236600808E75 /* RewardCellViewModelTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 77BC00F72330236600808E75 /* RewardCellViewModelTests.swift */; };
77BF99B722652C9500513CE3 /* MultiLineButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 77BF99B622652C9500513CE3 /* MultiLineButton.swift */; };
77C0818E245CBA1B004ABE88 /* SignInWithAppleInputTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 77C0818D245CBA1B004ABE88 /* SignInWithAppleInputTests.swift */; };
77C26957240D711A009AD91E /* CategoryCollectionViewSectionHeaderViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 77C26956240D711A009AD91E /* CategoryCollectionViewSectionHeaderViewModel.swift */; };
77C5E21A214182A2002E1670 /* SettingsPrivacySwitchCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 77C5E219214182A2002E1670 /* SettingsPrivacySwitchCell.xib */; };
Expand Down Expand Up @@ -1805,7 +1804,6 @@
77BC00EF2326F0CC00808E75 /* PKPaymentRequestHelpersTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PKPaymentRequestHelpersTests.swift; sourceTree = "<group>"; };
77BC00F523301BD300808E75 /* RewardCellViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RewardCellViewModel.swift; sourceTree = "<group>"; };
77BC00F72330236600808E75 /* RewardCellViewModelTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RewardCellViewModelTests.swift; sourceTree = "<group>"; };
77BF99B622652C9500513CE3 /* MultiLineButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MultiLineButton.swift; sourceTree = "<group>"; };
77C0818D245CBA1B004ABE88 /* SignInWithAppleInputTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SignInWithAppleInputTests.swift; sourceTree = "<group>"; };
77C25FBE2385FDA5006E2010 /* DiscoveryEditorialViewModelTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DiscoveryEditorialViewModelTests.swift; sourceTree = "<group>"; };
77C26956240D711A009AD91E /* CategoryCollectionViewSectionHeaderViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CategoryCollectionViewSectionHeaderViewModel.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -3252,7 +3250,6 @@
D6050F51240463AC00E029D2 /* LandingPageStatsView.swift */,
77FD8B45216D6245000A95AC /* LoadingBarButtonItemView.swift */,
370C8B63234FCC6F00DE75DD /* LoadingButton.swift */,
77BF99B622652C9500513CE3 /* MultiLineButton.swift */,
D63BBD382180BE5D007E01F0 /* PaymentMethodsFooterView.swift */,
8ADF4D7524BCCFD60018AD4B /* PillsView.swift */,
D741577A2284849000C0B907 /* PledgeCTAContainerView.swift */,
Expand Down Expand Up @@ -5669,7 +5666,6 @@
01515F8C1E1D6E0C00FDECB6 /* MessageThreadEmptyStateCell.swift in Sources */,
9D525F101D4158BA003CAE04 /* ProjectActivityDateCell.swift in Sources */,
5981BE431D7F59DE002E49F1 /* CommentsEmptyStateCell.swift in Sources */,
77BF99B722652C9500513CE3 /* MultiLineButton.swift in Sources */,
A747A7DF1D454E8500AF199A /* ProjectPamphletContentViewController.swift in Sources */,
77636FC1243CFE25007F67B9 /* ProcessingView.swift in Sources */,
0157067D1E65F0420087DD68 /* BackerDashboardProjectsViewController.swift in Sources */,
Expand Down
7 changes: 0 additions & 7 deletions Library/Styles/ButtonStyles.swift
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,6 @@ public let fbFollowButtonStyle = facebookButtonStyle
<> UIButton.lens.titleEdgeInsets .~ .init(top: 0, left: 10.0, bottom: 0, right: -10.0)
<> UIButton.lens.image(for: .normal) %~ { _ in image(named: "fb-logo-white") }

// MARK: - Multiline

public let multiLineButtonStyle =
UIButton.lens.titleLabel.lineBreakMode .~ NSLineBreakMode.byWordWrapping
<> UIButton.lens.titleLabel.numberOfLines .~ 0
<> UIButton.lens.titleLabel.textAlignment .~ NSTextAlignment.center

// MARK: - Save

public let saveButtonStyle =
Expand Down

0 comments on commit 41c1a79

Please sign in to comment.