Skip to content

Commit

Permalink
Merge pull request #180 from takenet/release/0.0.67
Browse files Browse the repository at this point in the history
Release/0.0.67
  • Loading branch information
leonardogbr authored Jul 26, 2023
2 parents a79baef + 228a48b commit 74dd7ce
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.0.67

- [DSColors] Added new color.
- [DSVideoMessageBubble] Fix to play videos from instagram.

## 0.0.66

- [DSRequestLocationButton] New widget to show the button of request of location.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,13 @@ class DSVideoMessageBubbleController {
isDownloading.value = true;

try {
final fileName = url.substring(url.lastIndexOf('/')).substring(1);
final path = Uri.parse(url).path;

var fileName = path.substring(path.lastIndexOf('/')).substring(1);

if (fileName.isEmpty) {
fileName = DateTime.now().toIso8601String();
}

final temporaryPath = (await getTemporaryDirectory()).path;
final outputFile = File('$temporaryPath/VIDEO-$uniqueId.mp4');
Expand Down
2 changes: 1 addition & 1 deletion lib/src/services/ds_auth.service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ abstract class DSAuthService {

static Map<String, String> get httpHeaders => token?.isNotEmpty ?? false
? {
'Authorization': 'Key $token',
'Authorization': 'Bearer $token',
}
: const {};
}
2 changes: 1 addition & 1 deletion lib/src/themes/colors/ds_colors.theme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ abstract class DSColors {

static const Color disabledText = Color(0xFF637798);
static const Color disabledBg = Color(0xFFE8F2FF);
static const Color contentDisable = Color(0xFF666666);

static Gradient gradientOcean = DSLinearGradient(
colors: const [
Expand All @@ -52,7 +53,6 @@ abstract class DSColors {
],
degree: -153.33,
);

static Gradient gradientTree = DSLinearGradient(
colors: const [
Color(0xFF167491),
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.0.66
version: 0.0.67
homepage: https://github.com/takenet/blip-ds-flutter#readme
repository: https://github.com/takenet/blip-ds-flutter

Expand Down
2 changes: 1 addition & 1 deletion sample/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.0.66"
version: "0.0.67"
boolean_selector:
dependency: transitive
description:
Expand Down

0 comments on commit 74dd7ce

Please sign in to comment.