@@ -97,33 +97,33 @@ struct AppStoreButtonStyle_Previews: PreviewProvider {
9797 Group {
9898 ForEach ( [ ColorScheme . light, . dark] , id: \. self) { colorScheme in
9999 Group {
100- Button ( " OPEN " , action: { } )
100+ Button ( " OPEN " . hideInLocalizations , action: { } )
101101 . buttonStyle ( AppStoreButtonStyle ( primary: true , highlighted: false ) )
102102 . padding ( )
103103 . background ( Color ( . textBackgroundColor) )
104104 . previewDisplayName ( " Primary " )
105- Button ( " OPEN " , action: { } )
105+ Button ( " OPEN " . hideInLocalizations , action: { } )
106106 . buttonStyle ( AppStoreButtonStyle ( primary: true , highlighted: true ) )
107107 . padding ( )
108108 . background ( Color ( . controlAccentColor) )
109109 . previewDisplayName ( " Primary, Highlighted " )
110- Button ( " OPEN " , action: { } )
110+ Button ( " OPEN " . hideInLocalizations , action: { } )
111111 . buttonStyle ( AppStoreButtonStyle ( primary: true , highlighted: false ) )
112112 . padding ( )
113113 . disabled ( true )
114114 . background ( Color ( . textBackgroundColor) )
115115 . previewDisplayName ( " Primary, Disabled " )
116- Button ( " INSTALL " , action: { } )
116+ Button ( " INSTALL " . hideInLocalizations , action: { } )
117117 . buttonStyle ( AppStoreButtonStyle ( primary: false , highlighted: false ) )
118118 . padding ( )
119119 . background ( Color ( . textBackgroundColor) )
120120 . previewDisplayName ( " Secondary " )
121- Button ( " INSTALL " , action: { } )
121+ Button ( " INSTALL " . hideInLocalizations , action: { } )
122122 . buttonStyle ( AppStoreButtonStyle ( primary: false , highlighted: true ) )
123123 . padding ( )
124124 . background ( Color ( . controlAccentColor) )
125125 . previewDisplayName ( " Secondary, Highlighted " )
126- Button ( " INSTALL " , action: { } )
126+ Button ( " INSTALL " . hideInLocalizations , action: { } )
127127 . buttonStyle ( AppStoreButtonStyle ( primary: false , highlighted: false ) )
128128 . padding ( )
129129 . disabled ( true )
0 commit comments