feat(android): complete first successful skip export

This commit is contained in:
Daniel Arantes Loverde
2026-03-20 10:56:22 -03:00
parent cb7bfef356
commit 9bdb9dfdea
22 changed files with 360 additions and 153 deletions

View File

@@ -50,6 +50,15 @@ struct StoreDetailView: View {
AppColors.backgroundLight.ignoresSafeArea()
ScrollView(showsIndicators: false) {
#if os(Android)
LazyVStack(spacing: 0) {
topSection
categoryTabs(proxy: proxy, safeTop: safeTop, isSticky: false)
sectionedProducts
}
#else
LazyVStack(spacing: 0, pinnedViews: [.sectionHeaders]) {
topSection
@@ -57,6 +66,7 @@ struct StoreDetailView: View {
sectionedProducts
}
#endif
}
.refreshable {
await loadStoreData(forceRefresh: true)
@@ -472,7 +482,7 @@ struct StoreDetailView: View {
}
.offset(x: 3, y: -3)
.frame(width: 30, height: 30)
.contentShape(Circle())
.appContentShape(Circle())
}
.buttonStyle(.plain)
.frame(width: 30, height: 30)
@@ -484,7 +494,7 @@ struct StoreDetailView: View {
.padding(12)
.background(AppColors.surface)
.clipShape(RoundedRectangle(cornerRadius: AppLayout.radiusLG, style: .continuous))
.contentShape(RoundedRectangle(cornerRadius: AppLayout.radiusLG, style: .continuous))
.appContentShape(RoundedRectangle(cornerRadius: AppLayout.radiusLG, style: .continuous))
.onTapGesture {
guard isStoreOpen else {
SnackbarCenter.shared.show(title: "Loja fechada no momento.", style: .warning, icon: "moon.zzz.fill", duration: 2.0)