集成 MJRefresh 并重构主 TabBar 为系统 TabView 样式。
新增 SwiftUI 桥接层与单元测试,更新 Tab 图标资源命名和多倍图,同步调整 UI Test 的 Tab/扫码定位逻辑。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@ -78,10 +78,7 @@ final class SuixinkanApp {
|
||||
|
||||
/// 判断主 Tab 是否已出现。
|
||||
var isOnMainTabs: Bool {
|
||||
application.buttons[TabBarNavigator.Tab.home.identifier].exists
|
||||
|| application.buttons[TabBarNavigator.Tab.orders.identifier].exists
|
||||
|| application.buttons[TabBarNavigator.Tab.statistics.identifier].exists
|
||||
|| application.buttons[TabBarNavigator.Tab.profile.identifier].exists
|
||||
TabBarNavigator.isVisible(in: self)
|
||||
}
|
||||
|
||||
/// 等待冷启动后进入登录页或主 Tab。
|
||||
|
||||
Reference in New Issue
Block a user