Skip to content

Commit

Permalink
Tweak DN Story poster job for small caps presentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbutcher committed May 14, 2016
1 parent 81069ad commit 1521877
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/java/io/plaidapp/ui/DesignerNewsStory.java
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,8 @@ public void onClick(View v) {
SpannableString poster = new SpannableString(story.user_display_name.toLowerCase());
poster.setSpan(new TextAppearanceSpan(this, R.style.TextAppearance_CommentAuthor),
0, poster.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
CharSequence job = !TextUtils.isEmpty(story.user_job) ? "\n" + story.user_job : "";
CharSequence job =
!TextUtils.isEmpty(story.user_job) ? "\n" + story.user_job.toLowerCase() : "";
CharSequence timeAgo = DateUtils.getRelativeTimeSpanString(story.created_at.getTime(),
System.currentTimeMillis(),
DateUtils.SECOND_IN_MILLIS)
Expand Down

0 comments on commit 1521877

Please sign in to comment.