Files
bookibra/ios/Bookibra/DesignSystem/Components/NetworkErrorView.swift
sbilketay 98e2a1d3f1 fix(ios): iptal edilen isteklerde hata gösterimini düzelt
- API uç noktasını yeni IP adresine güncelle
- Docker yapılandırmasında node_modules için adlandırılmış volume ekle
- Arama işlemlerinde iptal durumlarını yoksay ve hata mesajı gösterme
- NetworkErrorView'da wifi ikonunu kaldır
2026-02-11 22:22:20 +03:00

20 lines
543 B
Swift

import SwiftUI
struct NetworkErrorView: View {
let message: String
let retryAction: () -> Void
var body: some View {
VStack(spacing: 12) {
Text(message)
.font(.subheadline)
.multilineTextAlignment(.center)
Button(String(localized: "common.retry"), action: retryAction)
.buttonStyle(.borderedProminent)
}
.padding()
.background(.ultraThinMaterial, in: RoundedRectangle(cornerRadius: 16))
.padding(.horizontal)
}
}