Skip to content

Commit 8a75813

Browse files
committed
fix: fix warning by removing old Ti.UI.iOS.SystemButtonStyle API
1 parent 37be267 commit 8a75813

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

docs/.vuepress/api.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,6 @@
287287
["titanium/ui/ios/statusbar", "StatusBar"],
288288
["titanium/ui/ios/stepper", "Stepper"],
289289
["titanium/ui/ios/systembutton", "SystemButton"],
290-
["titanium/ui/ios/systembuttonstyle", "SystemButtonStyle"],
291290
["titanium/ui/ios/systemicon", "SystemIcon"],
292291
["titanium/ui/ios/tabbedbar", "TabbedBar"],
293292
["titanium/ui/ios/tableviewcellselectionstyle", "TableViewCellSelectionStyle"],

docs/guide/Alloy_Framework/Alloy_Guide/Alloy_Controllers.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,7 @@ For example, since iOS devices do not include a back button, the application can
135135
```javascript
136136
if (OS_IOS) {
137137
var closeButton = Ti.UI.createButton({
138-
title: 'Close',
139-
style: Ti.UI.iPhone.SystemButtonStyle.PLAIN
138+
title: 'Close'
140139
});
141140

142141
closeButton.addEventListener('click', function(){

docs/guide/Titanium_SDK/Titanium_SDK_How-tos/Location_Services/Native_Maps_and_Annotations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ As we can see, there's many `Annotation` properties available for styling and in
256256

257257
* `image` - The URL to an image to be used in place of the default pin image
258258

259-
* `leftButton` - A button that will appear on the left side of your annotation when clicked. This property must have a value equal to the URL of an image, or to a `Ti.UI.iPhone.SystemButtonStyle` constant.
259+
* `leftButton` - A button that will appear on the left side of your annotation when clicked. This property must have a value equal to the URL of an image, or to a `Ti.UI.iOS.SystemButton` constant.
260260

261261
* `leftView` - A Titanium View object that will appear on the left side of your annotation when clicked. This property can be a single view like a `Ti.UI.Button` or `Ti.UI.Label`, or it can be a hierarchy of views.
262262

0 commit comments

Comments
 (0)