Skip to content

Commit

Permalink
fix(predictions): Fix processing for table title blocks (#2407)
Browse files Browse the repository at this point in the history
  • Loading branch information
eeatonaws authored Apr 20, 2023
1 parent ffde46c commit 4660b0d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,11 @@ public static Table fetchTable(@Nullable Block block, @NonNull Map<String, Block

// Each TABLE block contains CELL blocks
doForEachRelatedBlock(block, blockMap, cellBlock -> {
rows.add(cellBlock.getRowIndex() - 1);
cols.add(cellBlock.getColumnIndex() - 1);
cells.add(fetchTableCell(cellBlock, blockMap));
if (cellBlock.getRowIndex() != null && cellBlock.getColumnIndex() != null) {
rows.add(cellBlock.getRowIndex() - 1);
cols.add(cellBlock.getColumnIndex() - 1);
cells.add(fetchTableCell(cellBlock, blockMap));
}
});

return Table.builder()
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ ext {
compileSdkVersion = 30
minSdkVersion = 16
targetSdkVersion = 30
awsSDKReleaseVersion = '2.65.0'
awsSDKReleaseVersion = '2.66.0'
awsSdkVersion = useAwsSdkReleaseBuild() ? awsSDKReleaseVersion : "latest.integration"
fragmentVersion = '1.3.1'
navigationVersion = '2.3.4'
Expand Down

0 comments on commit 4660b0d

Please sign in to comment.