Skip to content

refactor(bottom-navigation): strip item creation#7477

Merged
ADjenkov merged 5 commits into
releasefrom
vchimev/bottom-navigation
Jul 10, 2019
Merged

refactor(bottom-navigation): strip item creation#7477
ADjenkov merged 5 commits into
releasefrom
vchimev/bottom-navigation

Conversation

@vchimev

@vchimev vchimev commented Jul 8, 2019

Copy link
Copy Markdown
Contributor

PR Checklist

This pull request refactors strip item creation for both Android and iOS.

Implements NativeScript/nativescript-angular#1893.

Rebase and merge after #7466.

function createTabItemSpec(tabStripItem: TabStripItem): org.nativescript.widgets.TabItemSpec {
const result = new org.nativescript.widgets.TabItemSpec();
result.title = tabStripItem.title;
function createTabItemSpec(item: TabStripItem): org.nativescript.widgets.TabItemSpec {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think TabStripItems should be named tabStripItem instead of item to avoid confusion with the TabContentItems which are the items in the tab navigation classes.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll update it.

@ADjenkov ADjenkov force-pushed the vchimev/bottom-navigation branch 2 times, most recently from 3535be3 to ac7a5ab Compare July 10, 2019 10:51
@ADjenkov ADjenkov force-pushed the vchimev/bottom-navigation branch from ac7a5ab to fa1ce44 Compare July 10, 2019 13:26
@ADjenkov ADjenkov self-assigned this Jul 10, 2019
@ADjenkov ADjenkov merged commit eb1ed3e into release Jul 10, 2019
@ADjenkov ADjenkov deleted the vchimev/bottom-navigation branch July 10, 2019 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants