mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
Removed some code
This commit is contained in:
@ -206,10 +206,6 @@ export class OptionsMenu implements dts.OptionsMenu {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public setItems(items: Array<MenuItem>) {
|
public setItems(items: Array<MenuItem>) {
|
||||||
if (this._items === items) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Remove all existing items
|
// Remove all existing items
|
||||||
while (this._items.length > 0) {
|
while (this._items.length > 0) {
|
||||||
this.removeItem(this._items[this._items.length - 1]);
|
this.removeItem(this._items[this._items.length - 1]);
|
||||||
|
Reference in New Issue
Block a user