mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 15:51:16 +08:00
fix(): back button default text
This commit is contained in:
@ -38,7 +38,7 @@ export class BackButton {
|
||||
|
||||
render() {
|
||||
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;
|
||||
|
||||
if (this.custom) {
|
||||
|
||||
Reference in New Issue
Block a user