mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-09 22:00:39 +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,21 +689,12 @@ public class BoardDelegate extends DelegateBase
|
||||||
@Override
|
@Override
|
||||||
protected void setTitle()
|
protected void setTitle()
|
||||||
{
|
{
|
||||||
runOnUiThread( new Runnable() {
|
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
String title = GameUtils.getName( m_activity, m_rowid );
|
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 ) {
|
if ( null != m_gi && m_gi.inDuplicateMode ) {
|
||||||
title = LocUtils.getString( m_activity, R.string.dupe_title_fmt, title );
|
title = LocUtils.getString( m_activity, R.string.dupe_title_fmt, title );
|
||||||
}
|
}
|
||||||
setTitle( title );
|
setTitle( title );
|
||||||
}
|
}
|
||||||
} );
|
|
||||||
}
|
|
||||||
|
|
||||||
private void initToolbar()
|
private void initToolbar()
|
||||||
{
|
{
|
||||||
|
@ -1845,7 +1836,6 @@ public class BoardDelegate extends DelegateBase
|
||||||
post( new Runnable() {
|
post( new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
setTitle();
|
|
||||||
makeNotAgainBuilder( R.string.not_again_turnchanged,
|
makeNotAgainBuilder( R.string.not_again_turnchanged,
|
||||||
R.string.key_notagain_turnchanged )
|
R.string.key_notagain_turnchanged )
|
||||||
.show();
|
.show();
|
||||||
|
|
|
@ -62,6 +62,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/local_invite_summary"
|
android:text="@string/local_invite_summary"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
|
android:paddingTop="8dp"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<!-- intro for QR code: these two elems stay at the bottom -->
|
<!-- intro for QR code: these two elems stay at the bottom -->
|
||||||
|
|
|
@ -2684,8 +2684,4 @@
|
||||||
<string name="name_game">Name your game</string>
|
<string name="name_game">Name your game</string>
|
||||||
<!-- Title of the game name field in quick-invite new game dialog -->
|
<!-- Title of the game name field in quick-invite new game dialog -->
|
||||||
<string name="choose_opponent">Choose your opponent</string>
|
<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>
|
</resources>
|
||||||
|
|
Loading…
Add table
Reference in a new issue