1.0.0+2 bug fix
This commit is contained in:
parent
d2ac3149d3
commit
4fa9d07e59
|
@ -1,3 +1,7 @@
|
|||
## 1.0.0+2
|
||||
|
||||
* Fixed a bug introduced with the null safety release
|
||||
|
||||
## 1.0.0
|
||||
|
||||
* Null safety
|
||||
|
|
|
@ -33,7 +33,7 @@ class _MiniplayerWillPopScopeState extends State<MiniplayerWillPopScope> {
|
|||
if (_descendant != null) {
|
||||
willPop = await _descendant!.onWillPop();
|
||||
}
|
||||
if (willPop == null) {
|
||||
if (willPop == null || willPop) {
|
||||
willPop = await widget.onWillPop();
|
||||
}
|
||||
return willPop;
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
name: miniplayer
|
||||
description: A lightweight flutter package to simplify the creation of a miniplayer.
|
||||
version: 1.0.0
|
||||
version: 1.0.0+2
|
||||
homepage: https://www.peterscode.dev
|
||||
repository: https://github.com/peterscodee/miniplayer
|
||||
|
||||
environment:
|
||||
sdk: ">=2.12.0 <3.0.0"
|
||||
flutter: ">=2.0.1"
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
|
|
Loading…
Reference in New Issue