mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Merge remote-tracking branch 'origin/main' into refactor/circular-deps
This commit is contained in:
@@ -113,4 +113,4 @@
|
|||||||
"npx prettier --write"
|
"npx prettier --write"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -73,6 +73,8 @@ export class Button extends ButtonBase {
|
|||||||
public initNativeView(): void {
|
public initNativeView(): void {
|
||||||
super.initNativeView();
|
super.initNativeView();
|
||||||
const nativeView = this.nativeViewProtected;
|
const nativeView = this.nativeViewProtected;
|
||||||
|
// make consistent with iOS, easier on users given css styling
|
||||||
|
nativeView.setAllCaps(false);
|
||||||
initializeClickListener();
|
initializeClickListener();
|
||||||
const clickListener = new ClickListener(this);
|
const clickListener = new ClickListener(this);
|
||||||
nativeView.setOnClickListener(clickListener);
|
nativeView.setOnClickListener(clickListener);
|
||||||
|
|||||||
Reference in New Issue
Block a user