Skip to content

Commit

Permalink
Merge pull request #276 from takenet/develop
Browse files Browse the repository at this point in the history
[Release] 0.1.9
  • Loading branch information
mpamaro authored Sep 2, 2024
2 parents 3e06a46 + 2a63cd2 commit 63bfc34
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.1.9

- [DSEndCallsMessageBubble] Removed load recording state when session doesn't have available recording.

## 0.1.8

- Added translation to all hard coded texts.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,13 @@ class _DSEndCallsMessageBubbleState extends State<DSEndCallsMessageBubble> {
child: DSAnimatedSize(
child: FutureBuilder<String?>(
future: _session,
builder: (_, snapshot) {
return switch (snapshot.connectionState) {
ConnectionState.done =>
snapshot.hasError || (snapshot.data?.isEmpty ?? true)
? _buildError()
: _buildAudioPlayer(snapshot.data!),
_ => _buildLoading(),
};
builder: (_, snapshot) => switch (snapshot.connectionState) {
ConnectionState.done => snapshot.hasError
? _buildError()
: (snapshot.data?.isNotEmpty ?? false)
? _buildAudioPlayer(snapshot.data!)
: const SizedBox.shrink(),
_ => _buildLoading(),
},
),
),
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: blip_ds
description: Blip Design System for Flutter.
version: 0.1.8
version: 0.1.9
homepage: https://github.com/takenet/blip-ds-flutter#readme
repository: https://github.com/takenet/blip-ds-flutter

Expand Down

0 comments on commit 63bfc34

Please sign in to comment.