aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/ui/ChooseContactActivity.java
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-09-08 23:58:37 +0200
committeriNPUTmice <daniel@gultsch.de>2014-09-08 23:58:37 +0200
commitd92e8381db906c20ceb7f91914d63d514a873c8a (patch)
tree94367a08152e5704eeb4b6b51747919669b46a55 /src/eu/siacs/conversations/ui/ChooseContactActivity.java
parentd9c4637b31c79095d7acff43fee03daa83859ea3 (diff)
setting to increase font size. fixed #420
Diffstat (limited to 'src/eu/siacs/conversations/ui/ChooseContactActivity.java')
-rw-r--r--src/eu/siacs/conversations/ui/ChooseContactActivity.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/eu/siacs/conversations/ui/ChooseContactActivity.java b/src/eu/siacs/conversations/ui/ChooseContactActivity.java
index 449fc546..277d21d6 100644
--- a/src/eu/siacs/conversations/ui/ChooseContactActivity.java
+++ b/src/eu/siacs/conversations/ui/ChooseContactActivity.java
@@ -82,8 +82,7 @@ public class ChooseContactActivity extends XmppActivity {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_choose_contact);
mListView = (ListView) findViewById(R.id.choose_contact_list);
- mContactsAdapter = new ListItemAdapter(getApplicationContext(),
- contacts);
+ mContactsAdapter = new ListItemAdapter(this, contacts);
mListView.setAdapter(mContactsAdapter);
mListView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
@@ -98,7 +97,7 @@ public class ChooseContactActivity extends XmppActivity {
ListItem mListItem = contacts.get(position);
data.putExtra("contact", mListItem.getJid());
String account = request.getStringExtra("account");
- if (account==null && mListItem instanceof Contact) {
+ if (account == null && mListItem instanceof Contact) {
account = ((Contact) mListItem).getAccount().getJid();
}
data.putExtra("account", account);