Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 10, 2019

Conversation

vchimev
Copy link
Contributor

@vchimev vchimev commented Jul 8, 2019

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
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
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