|
@@ -125,15 +125,15 @@ class MusicContainerViewController: LWBGViewController {
|
|
|
|
|
|
@objc func showSearchViewController() {
|
|
|
// if PurchaseManager.default.isVip {
|
|
|
-// if TSConfiguration.isYs {
|
|
|
+ if TSConfiguration.isYs {
|
|
|
let vc = SearchOnlineViewController()
|
|
|
vc.hidesBottomBarWhenPushed = true
|
|
|
navigationController?.pushViewController(vc, animated: true)
|
|
|
-// } else {
|
|
|
-// let vc = LocalSearchViewController()
|
|
|
-// vc.hidesBottomBarWhenPushed = true
|
|
|
-// navigationController?.pushViewController(vc, animated: true)
|
|
|
-// }
|
|
|
+ } else {
|
|
|
+ let vc = LocalSearchViewController()
|
|
|
+ vc.hidesBottomBarWhenPushed = true
|
|
|
+ navigationController?.pushViewController(vc, animated: true)
|
|
|
+ }
|
|
|
// } else {
|
|
|
// ADManager.shared.showAd(scene: ADScene.searchInsert, from: self) { state in
|
|
|
// if state == .finished || state == .fail {
|