Skip to content

Commit 72e442d

Browse files
author
farfromrefug
committed
chore: fix after merge
1 parent 91176f7 commit 72e442d

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/core-tabs/tab-content-item/index.android.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { GridLayout, View, Trace } from '@nativescript/core';
1+
import { GridLayout, Trace, View } from '@nativescript/core';
22
import { TabContentItem as TabContentItemDefinition } from '.';
33
import { TabContentItemBase } from './tab-content-item-common';
44

@@ -14,7 +14,7 @@ export class TabContentItem extends TabContentItemBase {
1414

1515
public createNativeView() {
1616
const layout = new org.nativescript.widgets.GridLayout(this._context);
17-
layout.addRow(new org.nativescript.widgets.ItemSpec(1, org.nativescript.widgets.GridUnitType.star));
17+
layout.addRow(1, org.nativescript.widgets.GridUnitType.star);
1818

1919
return layout;
2020
}

src/core-tabs/tab-navigation-base/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ export class TabNavigationBase extends View implements TabNavigationBaseDefiniti
270270
// overridden by inheritors
271271
}
272272

273-
public setTabBarRippleColor(value: Color, alpha?:number) {
273+
public setTabBarRippleColor(value: Color, alpha?: number) {
274274
// overridden by inheritors
275275
}
276276

src/core-tabs/tab-navigation/index.android.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,13 +222,13 @@ export abstract class TabNavigation<T extends android.view.ViewGroup = any> exte
222222
const lp = new org.nativescript.widgets.CommonLayoutParams();
223223
lp.row = 1;
224224
if (this.tabsPosition === 'top') {
225-
nativeView.addRow(new org.nativescript.widgets.ItemSpec(1, org.nativescript.widgets.GridUnitType.auto));
226-
nativeView.addRow(new org.nativescript.widgets.ItemSpec(1, org.nativescript.widgets.GridUnitType.star));
225+
nativeView.addRow(1, org.nativescript.widgets.GridUnitType.auto);
226+
nativeView.addRow(1, org.nativescript.widgets.GridUnitType.star);
227227

228228
viewPager.setLayoutParams(lp);
229229
} else {
230-
nativeView.addRow(new org.nativescript.widgets.ItemSpec(1, org.nativescript.widgets.GridUnitType.star));
231-
nativeView.addRow(new org.nativescript.widgets.ItemSpec(1, org.nativescript.widgets.GridUnitType.auto));
230+
nativeView.addRow(1, org.nativescript.widgets.GridUnitType.star);
231+
nativeView.addRow(1, org.nativescript.widgets.GridUnitType.auto);
232232
this.tabBarLayoutParams = lp;
233233
}
234234

yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3479,7 +3479,7 @@ __metadata:
34793479

34803480
"@nativescript-community/plugin-seed-tools@file:tools::locator=%40nativescript-community%2Fui-material-components%40workspace%3A.":
34813481
version: 1.0.0
3482-
resolution: "@nativescript-community/plugin-seed-tools@file:tools#tools::hash=e2683f&locator=%40nativescript-community%2Fui-material-components%40workspace%3A."
3482+
resolution: "@nativescript-community/plugin-seed-tools@file:tools#tools::hash=a59b86&locator=%40nativescript-community%2Fui-material-components%40workspace%3A."
34833483
dependencies:
34843484
"@angular/animations": "npm:~18.2.13"
34853485
"@angular/common": "npm:~18.2.13"
@@ -3544,7 +3544,7 @@ __metadata:
35443544
vue: "npm:^2.7.16"
35453545
yargs: "npm:^17.7.2"
35463546
zone.js: "npm:~0.15.0"
3547-
checksum: f5c4a092a89a21dec1551628fcb3808022a0b2ad738e5aebeb3e8c706a860cd489b497441406ac4aa662aed78880dedda89ff19612fc7a82746db72fd6fd84dd
3547+
checksum: 92e5d131cc644278522669a1e0053b5ada10ae5deb4cf385ed8047d594e5b2927c56f92923aa7e9250f4d1204d9c0eaa6987b7791a35e3462d7ecfa04b241a27
35483548
languageName: node
35493549
linkType: hard
35503550

0 commit comments

Comments
 (0)