fix(): back button default text

This commit is contained in:
mhartington
2018-02-28 10:03:20 -05:00
parent b2a5935272
commit 4d8527febc

View File

@ -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) {