mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
sort by creation time rather than lastsaved time. This is a temporary
workaround to fix a bug where the UI isn't updating often enough and sometimes delete or other position-based long-tap menu actions on the list act on the wrong game. This gives an order that won't change. Revisit later if a more dynamic order is desired.
This commit is contained in:
parent
700c58d6dc
commit
0354c3f1d9
1 changed files with 1 additions and 1 deletions
|
@ -448,7 +448,7 @@ public class DBUtils {
|
|||
SQLiteDatabase db = s_dbHelper.getReadableDatabase();
|
||||
|
||||
String[] columns = { DBHelper.FILE_NAME };
|
||||
String orderBy = DBHelper.LASTPLAY_TIME + " DESC";
|
||||
String orderBy = DBHelper.CREATE_TIME + " DESC";
|
||||
Cursor cursor = db.query( DBHelper.TABLE_NAME_SUM, columns,
|
||||
null, null, null, null, orderBy );
|
||||
if ( 0 < cursor.getCount() ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue