Skip to content

Commit d0a534d

Browse files
committed
chore: cleanup
1 parent 7a02084 commit d0a534d

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

src/bottomsheet/bottomsheet.ios.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,6 @@ class UILayoutViewController extends UIViewController {
332332

333333
// const insets = new UIEdgeInsets(additionalInsets);
334334
// this.additionalSafeAreaInsets = insets;
335-
// console.log('additionalSafeAreaInsets', insets.left, insets.bottom, insets.right, insets.top);
336335
// }
337336
}
338337
}
@@ -348,7 +347,6 @@ class UILayoutViewController extends UIViewController {
348347

349348
// if (!owner.parent) {
350349
// owner.callLoaded();
351-
// console.log('callLoaded done');
352350
// }
353351
}
354352

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,10 @@ export function registerTabNavigationBase(opts: RegisterTabsOptions = {}): void
9494
return;
9595
}
9696

97-
// console.log(`[tabStrip.insert] 1 [${parent} > ${child} @${atIndex}] => [${parent.childNodes}]`);
98-
9997
const items = tabStrip.items || []; // Annoyingly, it's the consumer's responsibility to ensure there's an array there!
10098
if (typeof atIndex === 'undefined' || atIndex === items.length) {
101-
// console.log(`[tabStrip.insert] 2a [${parent} > ${child} @${atIndex}] => [${parent.childNodes}]`);
10299
tabStrip._addChildFromBuilder('items', child.nativeView as TabStripItem);
103100
} else {
104-
// console.log(`[tabStrip.insert] 2b [${parent} > ${child} @${atIndex}] => [${parent.childNodes}]`);
105101
const itemsClone = items.slice();
106102
itemsClone.splice(atIndex, 0, child.nativeView as TabStripItem);
107103
tabStrip.items = itemsClone;
@@ -154,7 +150,6 @@ export function registerTabNavigationBase(opts: RegisterTabsOptions = {}): void
154150
// keep these good practices in case it's ever refactored.
155151

156152
if (child.nodeRole === 'label') {
157-
console.log(`[tabStripItem.insert] LABEL [${parent} > ${child} @${atIndex}] => [${parent.childNodes}]`);
158153
if (child.nativeView instanceof Label === false) {
159154
if (enableDebugLogging) {
160155
warn(`Unable to add child "${child.nativeView.constructor.name}" to the items of <tabStripItem> as it is not an instance of Label.`);
@@ -164,7 +159,6 @@ export function registerTabNavigationBase(opts: RegisterTabsOptions = {}): void
164159

165160
tabStripItem.label = child.nativeView as Label;
166161
} else if (child.nodeRole === 'image') {
167-
console.log(`[tabStripItem.insert] IMAGE [${parent} > ${child} @${atIndex}] => [${parent.childNodes}]`);
168162
if (child.nativeView instanceof Image === false) {
169163
if (enableDebugLogging) {
170164
warn(`Unable to add child "${child.nativeView.constructor.name}" to the items of <tabStripItem> as it is not an instance of Image.`);
@@ -174,7 +168,6 @@ export function registerTabNavigationBase(opts: RegisterTabsOptions = {}): void
174168

175169
tabStripItem.image = child.nativeView as Image;
176170
} else {
177-
console.log(`[tabStripItem.insert] OTHER [${parent} > ${child} @${atIndex}] => [${parent.childNodes}]`);
178171
if (enableDebugLogging) {
179172
warn(
180173
`Unable to add child "${child.nativeView.constructor.name}" to <tabStripItem> as it does not have a nodeRole specified; ` +

0 commit comments

Comments
 (0)