mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-04 20:46:28 +01:00
revert having missing player count in window title
The invite-now alert is enough.
This commit is contained in:
parent
776cc5703d
commit
6fb3d19f03
3 changed files with 6 additions and 19 deletions
|
@ -689,20 +689,11 @@ public class BoardDelegate extends DelegateBase
|
|||
@Override
|
||||
protected void setTitle()
|
||||
{
|
||||
runOnUiThread( new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
String title = GameUtils.getName( m_activity, m_rowid );
|
||||
if ( 0 < m_mySIS.nMissing ) {
|
||||
title = LocUtils.getString( m_activity, R.string.title_missing_fmt,
|
||||
title, m_mySIS.nMissing );
|
||||
}
|
||||
if ( null != m_gi && m_gi.inDuplicateMode ) {
|
||||
title = LocUtils.getString( m_activity, R.string.dupe_title_fmt, title );
|
||||
}
|
||||
setTitle( title );
|
||||
}
|
||||
} );
|
||||
String title = GameUtils.getName( m_activity, m_rowid );
|
||||
if ( null != m_gi && m_gi.inDuplicateMode ) {
|
||||
title = LocUtils.getString( m_activity, R.string.dupe_title_fmt, title );
|
||||
}
|
||||
setTitle( title );
|
||||
}
|
||||
|
||||
private void initToolbar()
|
||||
|
@ -1845,7 +1836,6 @@ public class BoardDelegate extends DelegateBase
|
|||
post( new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
setTitle();
|
||||
makeNotAgainBuilder( R.string.not_again_turnchanged,
|
||||
R.string.key_notagain_turnchanged )
|
||||
.show();
|
||||
|
|
|
@ -62,6 +62,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:text="@string/local_invite_summary"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:paddingTop="8dp"
|
||||
/>
|
||||
|
||||
<!-- intro for QR code: these two elems stay at the bottom -->
|
||||
|
|
|
@ -2684,8 +2684,4 @@
|
|||
<string name="name_game">Name your game</string>
|
||||
<!-- Title of the game name field in quick-invite new game dialog -->
|
||||
<string name="choose_opponent">Choose your opponent</string>
|
||||
|
||||
<!-- Board window title when host has not yet had all remote
|
||||
players connect -->
|
||||
<string name="title_missing_fmt">%1$s (missing %2$d)</string>
|
||||
</resources>
|
||||
|
|
Loading…
Add table
Reference in a new issue