feat(android): complete first successful skip export
This commit is contained in:
@@ -137,7 +137,7 @@ struct OrdersView: View {
|
||||
.lineLimit(1)
|
||||
.minimumScaleFactor(0.5)
|
||||
.buttonStyle(.plain)
|
||||
.layoutPriority(0)
|
||||
.appLayoutPriority(0)
|
||||
|
||||
Spacer(minLength: 8)
|
||||
|
||||
@@ -169,7 +169,7 @@ struct OrdersView: View {
|
||||
.clipShape(Capsule())
|
||||
}
|
||||
.buttonStyle(.plain)
|
||||
.layoutPriority(2)
|
||||
.appLayoutPriority(2)
|
||||
}
|
||||
}
|
||||
.padding(18)
|
||||
@@ -719,16 +719,16 @@ struct OrderEntryDestinationView: View {
|
||||
|
||||
@MainActor
|
||||
func fetchOrderForRouting() async -> PublicOrderResult? {
|
||||
logger.info("OrderEntry fetch route orderId=\(orderId, privacy: .public)")
|
||||
logger.info("OrderEntry fetch route orderId=\(orderId)")
|
||||
do {
|
||||
let response = try await ApiService().publicOrder(orderId: orderId)
|
||||
if response.error == false, let result = response.result {
|
||||
logger.info("OrderEntry fetch route success orderId=\(orderId, privacy: .public) status=\((result.status ?? "nil"), privacy: .public) paymentStatus=\((result.paymentStatus ?? "nil"), privacy: .public)")
|
||||
logger.info("OrderEntry fetch route success orderId=\(orderId) status=\(result.status ?? "nil") paymentStatus=\(result.paymentStatus ?? "nil")")
|
||||
return result
|
||||
}
|
||||
logger.error("OrderEntry fetch route API error orderId=\(orderId, privacy: .public) message=\((response.message ?? "unknown"), privacy: .public)")
|
||||
logger.error("OrderEntry fetch route API error orderId=\(orderId) message=\(response.message ?? "unknown")")
|
||||
} catch {
|
||||
logger.error("OrderEntry fetch route failure orderId=\(orderId, privacy: .public) error=\(error.localizedDescription, privacy: .public)")
|
||||
logger.error("OrderEntry fetch route failure orderId=\(orderId) error=\(error.localizedDescription)")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user