From f2bf8a9fdaf9860d7ac8e4778c770016344ab38d Mon Sep 17 00:00:00 2001 From: cketti Date: Thu, 3 Oct 2019 22:50:42 +0200 Subject: [PATCH] Port item ID fix from PR #4180 --- app/ui/src/main/java/com/fsck/k9/activity/ChooseFolder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ui/src/main/java/com/fsck/k9/activity/ChooseFolder.java b/app/ui/src/main/java/com/fsck/k9/activity/ChooseFolder.java index 99db93f5c..030b4315a 100644 --- a/app/ui/src/main/java/com/fsck/k9/activity/ChooseFolder.java +++ b/app/ui/src/main/java/com/fsck/k9/activity/ChooseFolder.java @@ -370,7 +370,7 @@ public class ChooseFolder extends K9ListActivity { @Override public long getItemId(int position) { - return mFilteredFolders.get(position).folder.getServerId().hashCode() ; + return mFilteredFolders.get(position).folder.getDatabaseId(); } @Override