Skip to content

Commit

Permalink
Merge pull request #407 from Ariemeth/horizontal_cards
Browse files Browse the repository at this point in the history
Changing unit cards to a new horizontal layout
  • Loading branch information
Ariemeth authored Aug 18, 2024
2 parents 58cbf22 + d6bcbc5 commit 668a4ad
Show file tree
Hide file tree
Showing 5 changed files with 813 additions and 94 deletions.
4 changes: 2 additions & 2 deletions lib/screens/roster/pdf/pdf.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import 'package:gearforce/models/roster/roster.dart';
import 'package:gearforce/screens/roster/pdf/record_sheet/record_sheet.dart';
import 'package:gearforce/screens/roster/pdf/record_sheet/rules_sheet.dart';
import 'package:gearforce/screens/roster/pdf/record_sheet/traits_sheet.dart';
import 'package:gearforce/screens/roster/pdf/unit_cards/unit_cards.dart';
import 'package:gearforce/screens/roster/pdf/unit_cards/horizontal_unit_cards.dart';
import 'package:gearforce/widgets/pdf_settings.dart';
import 'package:pdf/pdf.dart';
import 'package:pdf/widgets.dart' as pw;
Expand Down Expand Up @@ -129,7 +129,7 @@ Future<Uint8List> buildPdf(
}

if (pdfSettings.sections.unitCards) {
final unitCards = buildUnitCards(
final unitCards = buildHorizontalUnitCards(
font,
roster,
version: version,
Expand Down
Loading

0 comments on commit 668a4ad

Please sign in to comment.