Show a popup menu when long-pressing on the conversation list.

This commit is contained in:
Greyson Parrelli
2021-10-19 11:06:32 -04:00
parent c0a68202a7
commit 3e5be2cfe2
30 changed files with 554 additions and 96 deletions

View File

@@ -867,7 +867,7 @@ public class ThreadDatabase extends Database {
StorageSyncHelper.scheduleSyncForDataChange();
}
public void unpinConversations(@NonNull Set<Long> threadIds) {
public void unpinConversations(@NonNull Collection<Long> threadIds) {
SQLiteDatabase db = databaseHelper.getSignalWritableDatabase();
ContentValues contentValues = new ContentValues(1);
String placeholders = StringUtil.join(Stream.of(threadIds).map(unused -> "?").toList(), ",");