mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +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>) {
|
||||
if (this._items === items) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Remove all existing items
|
||||
while (this._items.length > 0) {
|
||||
this.removeItem(this._items[this._items.length - 1]);
|
||||
|
Reference in New Issue
Block a user