File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ import 'package:piwigo_ng/services/OrientationService.dart';
1414import 'package:piwigo_ng/views/components/list_item.dart' ;
1515import 'package:piwigo_ng/views/components/snackbars.dart' ;
1616
17- import 'package:piwigo_ng/views/ImageViewPage.dart' ;
1817import 'package:piwigo_ng/views/UploadGalleryViewPage.dart' ;
1918import 'package:piwigo_ng/views/components/dialogs/dialogs.dart' ;
2019
@@ -311,7 +310,7 @@ class ContentGridState extends State<ContentGrid> with SingleTickerProviderState
311310 ThemeData _theme = Theme .of (context);
312311
313312 int albumCrossAxisCount = MediaQuery .of (context).size.width <= Constants .albumMinWidth ? 1
314- : (MediaQuery .of (context).size.width/ Constants .albumMinWidth).floor ();
313+ : (MediaQuery .of (context).size.width/ Constants .albumMinWidth).round ();
315314
316315 return RefreshIndicator (
317316 displacement: 20 ,
You can’t perform that action at this time.
0 commit comments