@ -162,7 +162,6 @@ struct SubscriptionView: View {
. buttonStyle ( . borderedProminent )
. buttonStyle ( . borderedProminent )
. tint ( . orange )
. tint ( . orange )
. listRowBackground ( Color . clear )
. listRowBackground ( Color . clear )
} footer : {
} footer : {
if product . item . isConsumable = = false {
if product . item . isConsumable = = false {
SubscriptionFooterView ( )
SubscriptionFooterView ( )
@ -187,14 +186,6 @@ struct SubscriptionView: View {
self . _restore ( )
self . _restore ( )
} . isLoading ( self . isRestoring )
} . isLoading ( self . isRestoring )
}
}
ToolbarItem ( placement : . bottomBar ) {
Button ( " Conditions d'utilisation " ) {
if let url = URL ( string : URLs . sitePage ( component : " terms-of-use/ " ) ) {
UIApplication . shared . open ( url , options : [ : ] , completionHandler : nil )
}
}
}
}
}
// . t o o l b a r {
// . t o o l b a r {
@ -272,6 +263,10 @@ fileprivate struct ProductsSectionView: View {
}
}
} header : {
} header : {
Text ( " Sélectionnez une offre " ) . foregroundStyle ( Color ( white : 0.8 ) )
Text ( " Sélectionnez une offre " ) . foregroundStyle ( Color ( white : 0.8 ) )
} footer : {
let message = " Consulter notre [politique de confidentialité]( \( URLs . privacy . rawValue ) ) et le [contrat d'utilisation]( \( URLs . eula . rawValue ) ) de Padel Club. "
Text ( . init ( message ) )
. foregroundStyle ( . white )
}
}
}
}