diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-09-08 23:58:37 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-09-08 23:58:37 +0200 |
commit | d92e8381db906c20ceb7f91914d63d514a873c8a (patch) | |
tree | 94367a08152e5704eeb4b6b51747919669b46a55 /src/eu/siacs/conversations/ui/ChooseContactActivity.java | |
parent | d9c4637b31c79095d7acff43fee03daa83859ea3 (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.java | 5 |
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); |