aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/ui/util
diff options
context:
space:
mode:
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);
}