diff --git a/nativescript-core/ui/bottom-navigation/bottom-navigation.android.ts b/nativescript-core/ui/bottom-navigation/bottom-navigation.android.ts index 76b47e632..26e4a4989 100644 --- a/nativescript-core/ui/bottom-navigation/bottom-navigation.android.ts +++ b/nativescript-core/ui/bottom-navigation/bottom-navigation.android.ts @@ -711,7 +711,7 @@ export class BottomNavigation extends TabNavigationBase { if (value instanceof Color) { this._bottomNavigationBar.setBackgroundColor(value.android); } else { - this._bottomNavigationBar.setBackground(tryCloneDrawable(value, this.nativeViewProtected.getResources)); + this._bottomNavigationBar.setBackground(tryCloneDrawable(value, this.nativeViewProtected.getResources())); } this.updateTabStripItems(); diff --git a/nativescript-core/ui/tab-view/tab-view.android.ts b/nativescript-core/ui/tab-view/tab-view.android.ts index 600046f90..073afae6b 100644 --- a/nativescript-core/ui/tab-view/tab-view.android.ts +++ b/nativescript-core/ui/tab-view/tab-view.android.ts @@ -733,7 +733,7 @@ export class TabView extends TabViewBase { if (value instanceof Color) { this._tabLayout.setBackgroundColor(value.android); } else { - this._tabLayout.setBackground(tryCloneDrawable(value, this.nativeViewProtected.getResources)); + this._tabLayout.setBackground(tryCloneDrawable(value, this.nativeViewProtected.getResources())); } } diff --git a/nativescript-core/ui/tabs/tabs.android.ts b/nativescript-core/ui/tabs/tabs.android.ts index cf9691a08..8fc36ef26 100644 --- a/nativescript-core/ui/tabs/tabs.android.ts +++ b/nativescript-core/ui/tabs/tabs.android.ts @@ -794,7 +794,7 @@ export class Tabs extends TabsBase { if (value instanceof Color) { this._tabsBar.setBackgroundColor(value.android); } else { - this._tabsBar.setBackground(tryCloneDrawable(value, this.nativeViewProtected.getResources)); + this._tabsBar.setBackground(tryCloneDrawable(value, this.nativeViewProtected.getResources())); } this.updateTabStripItems();