aboutsummaryrefslogtreecommitdiffstats
path: root/src/de/gultsch/chat/ui/ConversationFragment.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/de/gultsch/chat/ui/ConversationFragment.java')
-rw-r--r--src/de/gultsch/chat/ui/ConversationFragment.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/de/gultsch/chat/ui/ConversationFragment.java b/src/de/gultsch/chat/ui/ConversationFragment.java
index 990c38b6..1b8edbb5 100644
--- a/src/de/gultsch/chat/ui/ConversationFragment.java
+++ b/src/de/gultsch/chat/ui/ConversationFragment.java
@@ -6,7 +6,7 @@ import java.util.List;
import de.gultsch.chat.R;
import de.gultsch.chat.entities.Conversation;
import de.gultsch.chat.entities.Message;
-import de.gultsch.chat.utils.Beautifier;
+import de.gultsch.chat.utils.UIHelper;
import android.app.Fragment;
import android.database.Cursor;
import android.graphics.Typeface;
@@ -119,7 +119,7 @@ public class ConversationFragment extends Fragment {
if (uri!=null) {
imageView.setImageURI(uri);
} else {
- imageView.setImageBitmap(Beautifier.getUnknownContactPicture(item.getConversation().getName(), 200));
+ imageView.setImageBitmap(UIHelper.getUnknownContactPicture(item.getConversation().getName(), 200));
}
} else {
imageView.setImageURI(profilePicture);
@@ -133,7 +133,7 @@ public class ConversationFragment extends Fragment {
if (item.getStatus() == Message.STATUS_UNSEND) {
time.setTypeface(null, Typeface.ITALIC);
} else {
- time.setText(Beautifier.readableTimeDifference(item
+ time.setText(UIHelper.readableTimeDifference(item
.getTimeSent()));
}
return view;