Match desktop and iOS and order stickers by id.

This commit is contained in:
Björn Spindel
2021-02-10 19:15:12 +01:00
committed by Cody Henthorne
parent 8348badcd6
commit 39169784b0

View File

@@ -171,7 +171,7 @@ public class StickerDatabase extends Database {
String selection = PACK_ID + " = ? AND " + COVER + " = ?";
String[] args = new String[] { packId, "0" };
return db.query(TABLE_NAME, null, selection, args, null, null, null);
return db.query(TABLE_NAME, null, selection, args, null, null, STICKER_ID + " ASC");
}
public @Nullable Cursor getRecentlyUsedStickers(int limit) {