TUI: update (most menu functions working)
[fanfix.git] / src / be / nikiroo / fanfix / reader / TuiReader.java
index 11640cf506302fddae46d4b07a68b8a1a3cbf1e2..c71cf95f5be244914eda25cd46e4d69493452852 100644 (file)
@@ -1,12 +1,10 @@
 package be.nikiroo.fanfix.reader;
 
 import java.io.IOException;
-import java.util.List;
 
 import jexer.TApplication;
 import jexer.TApplication.BackendType;
 import be.nikiroo.fanfix.Instance;
-import be.nikiroo.fanfix.data.MetaData;
 
 /**
  * This {@link Reader}is based upon the TUI widget library 'jexer'
@@ -62,9 +60,8 @@ class TuiReader extends BasicReader {
 
        @Override
        public void browse(String source) {
-               List<MetaData> metas = getLibrary().getListBySource(source);
                try {
-                       TuiReaderApplication app = new TuiReaderApplication(metas, this,
+                       TuiReaderApplication app = new TuiReaderApplication(this, source,
                                        guessBackendType());
                        new Thread(app).start();
                } catch (Exception e) {