Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 7ef577e

Browse files
fix formatting
1 parent 7a64237 commit 7ef577e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/image_picker/image_picker/CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
* Removed the deprecated methods: `ImagePicker.pickImage`, `ImagePicker.pickVideo`,
55
`ImagePicker.retrieveLostData`
66

7-
* iOS: update XCUITests to separate each test session.
87
## 0.6.7+22
98

109
* iOS: update XCUITests to separate each test session.

packages/image_picker/image_picker/example/lib/main.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ class _MyHomePageState extends State<MyHomePage> {
7272
}
7373
}
7474

75-
void _onImageButtonPressed(ImageSource source, {BuildContext? context}) async {
75+
void _onImageButtonPressed(ImageSource source,
76+
{BuildContext? context}) async {
7677
if (_controller != null) {
7778
await _controller!.setVolume(0.0);
7879
}
@@ -104,7 +105,7 @@ class _MyHomePageState extends State<MyHomePage> {
104105

105106
@override
106107
void deactivate() {
107-
if (_controller!= null) {
108+
if (_controller != null) {
108109
_controller!.setVolume(0.0);
109110
_controller!.pause();
110111
}

0 commit comments

Comments
 (0)