mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-13 08:01:33 +01:00
pass to game name util whether new game is to be solo (but don't use info yet)
This commit is contained in:
parent
4481b1db39
commit
425c800d73
2 changed files with 2 additions and 2 deletions
|
@ -267,7 +267,7 @@ public class GameUtils {
|
|||
return result;
|
||||
}
|
||||
|
||||
public static String makeDefaultName( Context context )
|
||||
public static String makeDefaultName( Context context, boolean isSolo )
|
||||
{
|
||||
return LocUtils.getString( context, R.string.default_game_name );
|
||||
}
|
||||
|
|
|
@ -864,7 +864,7 @@ public class GamesListDelegate extends ListDelegateBase
|
|||
TextView edit = (TextView)dialog.findViewById( R.id.msg );
|
||||
edit.setText( msg );
|
||||
edit = (TextView)dialog.findViewById( R.id.edit );
|
||||
edit.setText( GameUtils.makeDefaultName( m_activity ) );
|
||||
edit.setText( GameUtils.makeDefaultName( m_activity, m_nextIsSolo ) );
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue