aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/ui/util
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-04-30 23:51:17 +0200
committerChristian Schneppe <christian@pix-art.de>2018-04-30 23:51:17 +0200
commit30442e84e1a845f4aed59d6c787c2f791b00ecdd (patch)
tree82f1dc89a0bd670d335aaab9450615494199fba2 /src/main/java/de/pixart/messenger/ui/util
parentbae77ff8fe587e981caa44ba27f5371b7a6664f6 (diff)
click on avatars in message search opens contact details
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui/util')
-rw-r--r--src/main/java/de/pixart/messenger/ui/util/ListViewUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/util/ListViewUtils.java b/src/main/java/de/pixart/messenger/ui/util/ListViewUtils.java
index c35ec3724..b797877e4 100644
--- a/src/main/java/de/pixart/messenger/ui/util/ListViewUtils.java
+++ b/src/main/java/de/pixart/messenger/ui/util/ListViewUtils.java
@@ -33,7 +33,7 @@ import android.widget.ListView;
public class ListViewUtils {
public static void scrollToBottom(final ListView listView) {
- int count = listView.getAdapter().getCount();
+ final int count = listView.getAdapter().getCount();
if (count > 0) {
setSelection(listView, count - 1, true);
}