Downgrade lib + fix date bug

This commit is contained in:
stom79 2018-11-28 17:19:34 +01:00
parent 92501da5fd
commit 69d5fec99a
2 changed files with 4 additions and 2 deletions

View File

@ -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'

View File

@ -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()));