Skip to content

Commit 10f8126

Browse files
committed
Minor Bug Fixed
1 parent a6fd932 commit 10f8126

File tree

5 files changed

+15
-4
lines changed

5 files changed

+15
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.1.1
2+
3+
* Minor Bug Fixed.
4+
15
## 0.1.0
26

37
* Migrate to null safety.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Add following dependencies to your pubspec.yaml:
1010

1111
```yaml
1212
dependencies:
13-
ringtone_player: ^0.1.0 #latest version
13+
ringtone_player: ^0.1.1 #latest version
1414
```
1515
1616
## Usage

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ packages:
8787
path: ".."
8888
relative: true
8989
source: path
90-
version: "0.0.4"
90+
version: "0.1.1"
9191
sky_engine:
9292
dependency: transitive
9393
description: flutter

lib/src/player.dart

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,12 @@ class RingtonePlayer {
8080
);
8181

8282
/// Play default system ringtone
83-
static Future<void> ringtone({double? volume, bool loop = true, bool alarm = false, AlarmMeta? alarmMeta}) async => play(
83+
static Future<void> ringtone(
84+
{double? volume,
85+
bool loop = true,
86+
bool alarm = false,
87+
AlarmMeta? alarmMeta}) async =>
88+
play(
8489
android: Android.ringtone,
8590
ios: Ios.electronic,
8691
volume: volume,

pubspec.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: ringtone_player
22
description: A player for system default ringtone, alarm and notification.
3-
version: 0.1.0
3+
version: 0.1.1
4+
authors:
5+
- CRUV <cruv.dev@gmail.com>
46
homepage: https://github.com/cruvdev/ringtone_player/
57
repository: https://github.com/cruvdev/ringtone_player/
68
issue_tracker: https://github.com/cruvdev/ringtone_player/issues/

0 commit comments

Comments
 (0)