mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-29 10:26:36 +01:00
show game name in title if not hidden
This commit is contained in:
parent
e637a64d96
commit
86b57526df
1 changed files with 3 additions and 2 deletions
|
@ -299,7 +299,6 @@ public class BoardActivity extends Activity implements UtilCtxt {
|
|||
if ( m_path.charAt(0) == '/' ) {
|
||||
m_path = m_path.substring( 1 );
|
||||
}
|
||||
|
||||
} // onCreate
|
||||
|
||||
@Override
|
||||
|
@ -762,7 +761,9 @@ public class BoardActivity extends Activity implements UtilCtxt {
|
|||
}
|
||||
m_jniThread.handle( JNICmd.CMD_START );
|
||||
|
||||
// setTitle( GameUtils.gameName( this, m_path ) );
|
||||
if ( !CommonPrefs.getHideTitleBar( this ) ) {
|
||||
setTitle( GameUtils.gameName( this, m_path ) );
|
||||
}
|
||||
m_toolbar =
|
||||
new Toolbar( this, findViewById( R.id.toolbar_horizontal ),
|
||||
findViewById( R.id.toolbar_vertical ) );
|
||||
|
|
Loading…
Reference in a new issue