diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-06-13 11:50:47 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-06-13 11:50:47 +0200 |
commit | eb7ed786055a45401dc2f688fc0fbcec5da0f89e (patch) | |
tree | fbcb6862c88078f9bad465ece35cd036e12515c6 /src/eu/siacs/conversations/ui/ContactDetailsActivity.java | |
parent | 899da6155561a43e51f62bdf7ccab657c02522f3 (diff) |
moved last seen to contact details
Diffstat (limited to 'src/eu/siacs/conversations/ui/ContactDetailsActivity.java')
-rw-r--r-- | src/eu/siacs/conversations/ui/ContactDetailsActivity.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/ui/ContactDetailsActivity.java b/src/eu/siacs/conversations/ui/ContactDetailsActivity.java index 154533db7..d89c35f1e 100644 --- a/src/eu/siacs/conversations/ui/ContactDetailsActivity.java +++ b/src/eu/siacs/conversations/ui/ContactDetailsActivity.java @@ -48,6 +48,7 @@ public class ContactDetailsActivity extends XmppActivity { private TextView accountJidTv; private TextView status; private TextView askAgain; + private TextView lastseen; private CheckBox send; private CheckBox receive; private QuickContactBadge badge; @@ -111,6 +112,7 @@ public class ContactDetailsActivity extends XmppActivity { contactJidTv = (TextView) findViewById(R.id.details_contactjid); accountJidTv = (TextView) findViewById(R.id.details_account); status = (TextView) findViewById(R.id.details_contactstatus); + lastseen = (TextView) findViewById(R.id.details_lastseen); send = (CheckBox) findViewById(R.id.details_send_presence); receive = (CheckBox) findViewById(R.id.details_receive_presence); askAgain = (TextView) findViewById(R.id.ask_again); @@ -202,6 +204,8 @@ public class ContactDetailsActivity extends XmppActivity { receive.setChecked(false); } } + + lastseen.setText(UIHelper.lastseen(getApplicationContext(),contact.lastseen.time)); switch (contact.getMostAvailableStatus()) { case Presences.CHAT: |