diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-10-03 15:00:29 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-10-03 15:00:29 +0200 |
commit | 9ae52a235f39f86813220eae0bd084251242470e (patch) | |
tree | 9e05ae37e59b07d0de275dfc74a8dab69c0d2abb /src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java | |
parent | 335152b1915ddaf77e33aa1106553186f2ef7102 (diff) |
revised tablet ui. fixed #423
Diffstat (limited to 'src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java')
-rw-r--r-- | src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java b/src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java index 7b470faa..583772ba 100644 --- a/src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java +++ b/src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java @@ -40,9 +40,9 @@ public class ConversationAdapter extends ArrayAdapter<Conversation> { Conversation conv = getItem(position); if (this.activity instanceof ConversationActivity) { ConversationActivity activity = (ConversationActivity) this.activity; - if (!activity.getSlidingPaneLayout().isSlideable()) { + if (!activity.isConversationsOverviewHideable()) { if (conv == activity.getSelectedConversation()) { - view.setBackgroundColor(0xffdddddd); + view.setBackgroundColor(activity.getSecondaryBackgroundColor()); } else { view.setBackgroundColor(Color.TRANSPARENT); } |