mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
fix(): back button default text
This commit is contained in:
@ -38,7 +38,7 @@ export class BackButton {
|
|||||||
|
|
||||||
render() {
|
render() {
|
||||||
const backButtonIcon = this.config.get('backButtonIcon', 'arrow-back');
|
const backButtonIcon = this.config.get('backButtonIcon', 'arrow-back');
|
||||||
const defaultBackButtonText = this.config.get('backButtonText', 'Back');
|
const defaultBackButtonText = this.config.get('backButtonText', this.mode === 'ios' ? 'Back' : '');
|
||||||
const backButtonText = this.text || defaultBackButtonText;
|
const backButtonText = this.text || defaultBackButtonText;
|
||||||
|
|
||||||
if (this.custom) {
|
if (this.custom) {
|
||||||
|
|||||||
Reference in New Issue
Block a user