Skip to content

Commit

Permalink
Hard check on getThemeAwareTextStyle function
Browse files Browse the repository at this point in the history
  • Loading branch information
imaNNeo committed Mar 6, 2022
1 parent 613ba82 commit 918fe6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/utils/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ class Utils {
effectiveTextStyle = effectiveTextStyle!
.merge(const TextStyle(fontWeight: FontWeight.bold));
}
return effectiveTextStyle ??= defaultTextStyle.style;
return effectiveTextStyle!;
}

/// Finds the best initial interval value
Expand Down

0 comments on commit 918fe6e

Please sign in to comment.