Skip to content

Commit

Permalink
fix(android): tiapp.xml <navbar-hidden> begin ignored (#11768)
Browse files Browse the repository at this point in the history
- Was ignored if <fullscreen> or <statusbar-hidden> were not also set true. Regression since 9.0.0.

Co-authored-by: ssekhri <ssekhri@axway.com>
  • Loading branch information
jquick-axway and ssekhri committed Jun 10, 2020
1 parent 4e4c0eb commit 54e42b1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions android/cli/commands/_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -3537,10 +3537,9 @@ AndroidBuilder.prototype.generateAndroidManifest = async function generateAndroi

// Choose app theme to be used by all activities depending on following "tiapp.xml" settings.
let appThemeName = '@style/Theme.AppCompat';
if (this.tiapp.fullscreen || this.tiapp['statusbar-hidden']) {
if (this.tiapp['navbar-hidden']) {
appThemeName += '.NoTitleBar';
} else {
if (this.tiapp.fullscreen || this.tiapp['statusbar-hidden'] || this.tiapp['navbar-hidden']) {
appThemeName += '.NoTitleBar';
if (this.tiapp.fullscreen || this.tiapp['statusbar-hidden']) {
appThemeName += '.Fullscreen';
}
}
Expand Down

0 comments on commit 54e42b1

Please sign in to comment.