Minor fixes

This commit is contained in:
inorichi 2015-11-24 20:40:28 +01:00
parent ccd259f263
commit 725f70a54c
4 changed files with 3 additions and 8 deletions

View File

@ -176,7 +176,7 @@ public class CatalogueFragment extends BaseRxFragment<CataloguePresenter> {
if(v == null)
return null;
return (ImageView) v.findViewById(R.id.catalogue_thumbnail);
return (ImageView) v.findViewById(R.id.thumbnail);
}
public void updateImage(Manga manga) {

View File

@ -7,10 +7,6 @@ import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import java.text.DateFormat;
import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;
import java.text.NumberFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
@ -67,7 +63,7 @@ public class ChaptersHolder extends RecyclerView.ViewHolder implements
else if (chapter.downloaded == Chapter.NOT_DOWNLOADED)
download_icon.setImageResource(R.drawable.ic_file_download_black_36dp);
date.setText(sdf.format(new Date(chapter.date_fetch)));
date.setText(sdf.format(new Date(chapter.date_upload)));
toggleActivation();
}

View File

@ -1,7 +1,6 @@
package eu.kanade.mangafeed.ui.manga.info;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;

View File

@ -10,7 +10,7 @@
android:id="@+id/swipe_refresh"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@id/appbar_bottom"
android:layout_above="@+id/appbar_bottom"
android:orientation="vertical">
<android.support.v7.widget.RecyclerView