File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,6 @@ class _DetailsState extends State<Details> {
109109
110110 _buildImageTitleSection (DetailsProvider detailsProvider) {
111111 return Container (
112- height: 200.0 ,
113112 child: Row (
114113 mainAxisSize: MainAxisSize .max,
115114 crossAxisAlignment: CrossAxisAlignment .start,
@@ -232,7 +231,8 @@ class _DetailsState extends State<Details> {
232231 Map dl = dlList[0 ];
233232 String path = dl['path' ];
234233
235- List locators = await LocatorDB ().getLocator (widget.entry.id.t.toString ());
234+ List locators =
235+ await LocatorDB ().getLocator (widget.entry.id.t.toString ());
236236
237237 EpubViewer .setConfig (
238238 identifier: 'androidBook' ,
@@ -241,12 +241,9 @@ class _DetailsState extends State<Details> {
241241 enableTts: false ,
242242 allowSharing: true ,
243243 );
244- EpubViewer .open (
245- path,
246- lastLocation: locators.isNotEmpty
247- ? EpubLocator .fromJson (locators[0 ])
248- : null
249- );
244+ EpubViewer .open (path,
245+ lastLocation:
246+ locators.isNotEmpty ? EpubLocator .fromJson (locators[0 ]) : null );
250247 EpubViewer .locatorStream.listen ((event) async {
251248 // Get locator here
252249 Map json = jsonDecode (event);
You can’t perform that action at this time.
0 commit comments