inorichi 9 anos atrás
pai
commit
725f70a54c

+ 1 - 1
app/src/main/java/eu/kanade/mangafeed/ui/catalogue/CatalogueFragment.java

@@ -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) {

+ 1 - 5
app/src/main/java/eu/kanade/mangafeed/ui/manga/chapter/ChaptersHolder.java

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

+ 0 - 1
app/src/main/java/eu/kanade/mangafeed/ui/manga/info/MangaInfoFragment.java

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

+ 1 - 1
app/src/main/res/layout/fragment_manga_chapters.xml

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