Skip to content

Commit

Permalink
fix: null represenation type (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
gruskal committed Nov 7, 2022
1 parent 7344fd6 commit f3d0cd9
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -19,6 +19,9 @@ public class Representation {

Representation(ReadableMap data) {
type = data.getString("type");
if(type == null) {
type = "text";
}
imageUrl = data.getString("imageUrl");
imageSize = data.getString("imageSize");
imagePosition = data.getString("imagePosition");
Expand Down

0 comments on commit f3d0cd9

Please sign in to comment.