Commit 43d619c0 by Sarkizz

调整逻辑

parent 73a54df2
...@@ -246,7 +246,6 @@ extension ToastView { ...@@ -246,7 +246,6 @@ extension ToastView {
make.top.equalToSuperview().offset(ToastView.textPadding * 2) make.top.equalToSuperview().offset(ToastView.textPadding * 2)
make.bottom.equalToSuperview().offset(-ToastView.textPadding * 2) make.bottom.equalToSuperview().offset(-ToastView.textPadding * 2)
} }
addActions()
break break
case .loading: case .loading:
contentView.addSubview(_loadingIndicator) contentView.addSubview(_loadingIndicator)
...@@ -257,6 +256,7 @@ extension ToastView { ...@@ -257,6 +256,7 @@ extension ToastView {
} }
break break
} }
addActions()
} }
/// 从视图栈移除 /// 从视图栈移除
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment