mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 10:49:24 +02:00
opening of help text has been fixed
This commit is contained in:
parent
55e8dd6c90
commit
7773eb42b7
1 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@ import android.content.res.Configuration;
|
|||
import android.view.*;
|
||||
|
||||
import org.geometerplus.zlibrary.core.application.ZLApplication;
|
||||
import org.geometerplus.zlibrary.core.filesystem.ZLPhysicalFile;
|
||||
import org.geometerplus.zlibrary.core.filesystem.ZLFile;
|
||||
|
||||
import org.geometerplus.zlibrary.ui.android.R;
|
||||
import org.geometerplus.zlibrary.ui.android.application.ZLAndroidApplicationWindow;
|
||||
|
@ -96,7 +96,7 @@ public abstract class ZLAndroidActivity extends Activity {
|
|||
((ZLAndroidApplication)getApplication()).myMainWindow = new ZLAndroidApplicationWindow(application);
|
||||
application.initWindow();
|
||||
} else if (fileToOpen != null) {
|
||||
ZLApplication.Instance().openFile(new ZLPhysicalFile(new File(fileToOpen)));
|
||||
ZLApplication.Instance().openFile(ZLFile.createFileByPath(fileToOpen));
|
||||
}
|
||||
ZLApplication.Instance().repaintView();
|
||||
}
|
||||
|
@ -143,7 +143,7 @@ public abstract class ZLAndroidActivity extends Activity {
|
|||
}
|
||||
|
||||
if (fileToOpen != null) {
|
||||
ZLApplication.Instance().openFile(new ZLPhysicalFile(new File(fileToOpen)));
|
||||
ZLApplication.Instance().openFile(ZLFile.createFileByPath(fileToOpen));
|
||||
}
|
||||
ZLApplication.Instance().repaintView();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue