Downgrade lib + fix date bug
This commit is contained in:
parent
92501da5fd
commit
69d5fec99a
|
@ -45,7 +45,7 @@ allprojects {
|
|||
ext.supportLibraryVersion = '28.0.0'
|
||||
ext.glideLibraryVersion = '4.8.0'
|
||||
ext.conscryptLibraryVersion = '1.3.0'
|
||||
ext.evernoteLibraryVersion = '1.3.0-alpha09'
|
||||
ext.evernoteLibraryVersion = '1.2.6'
|
||||
ext.gsonLibraryVersion = '2.8.2'
|
||||
ext.guavaLibraryVersion = '24.1-android'
|
||||
ext.photoViewLibraryVersion = '2.0.0'
|
||||
|
|
|
@ -901,7 +901,9 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
|
|||
}
|
||||
if( getItemViewType(position) == FOCUSED_STATUS) {
|
||||
String fullDate_tmp = Helper.dateDiffFull(status.getCreated_at());
|
||||
String fullDate = fullDate_tmp.substring(0,1).toUpperCase() + fullDate_tmp.substring(1);
|
||||
String fullDate = "";
|
||||
if( !fullDate_tmp.equals(""))
|
||||
fullDate = fullDate_tmp.substring(0,1).toUpperCase() + fullDate_tmp.substring(1);
|
||||
holder.status_toot_date.setText(fullDate);
|
||||
}else {
|
||||
holder.status_toot_date.setText(Helper.dateDiff(context, status.getCreated_at()));
|
||||
|
|
Loading…
Reference in New Issue