Skip to content

Commit 41a7577

Browse files
committed
Replace our own copy of bottom sheet code from WPiOS with shared WordPressUI.
1 parent 6bfa15a commit 41a7577

File tree

10 files changed

+4
-798
lines changed

10 files changed

+4
-798
lines changed

WooCommerce/Classes/ViewRelated/BottomSheet/BottomSheetViewController+Constants.swift

Lines changed: 0 additions & 9 deletions
This file was deleted.

WooCommerce/Classes/ViewRelated/BottomSheet/ListSelector/BottomSheetListSelectorPresenter.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import UIKit
2+
import WordPressUI
23

34
/// Presents a bottom sheet list selector specified in its initializer.
45
///

WooCommerce/Classes/ViewRelated/BottomSheet/ListSelector/BottomSheetListSelectorViewController+DrawerPresentable.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import UIKit
2+
import WordPressUI
23

34
extension BottomSheetListSelectorViewController: DrawerPresentable {
45
var collapsedHeight: DrawerHeight {

WooCommerce/Classes/ViewRelated/BottomSheet/ListSelector/BottomSheetListSelectorViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import UIKit
2+
import WordPressUI
23

34
/// Displays a list (implemented by table view) for the user to select a generic model from a bottom sheet.
45
///

WooCommerce/Classes/ViewRelated/Products/Edit Product/ProductFormViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import Photos
22
import UIKit
3+
import WordPressUI
34
import Yosemite
45

56
/// The entry UI for adding/editing a Product.

WooCommerce/Vendors/WPiOS-BottomSheet/BottomSheetAnimationController.swift

Lines changed: 0 additions & 50 deletions
This file was deleted.

WooCommerce/Vendors/WPiOS-BottomSheet/BottomSheetViewController.swift

Lines changed: 0 additions & 175 deletions
This file was deleted.

0 commit comments

Comments
 (0)