소스 검색
Merge pull request #258 from juliuscanute/hot-reload
Fixed hot reload not working.
flutter-beta
Julian Steenbakker
5 년 전
committed by
GitHub
No known key found for this signature in database
GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일과
1개의 추가작업 그리고
2개의 파일을 삭제
-
example/lib/main.dart
|
|
|
@@ -27,9 +27,8 @@ class _QRViewExampleState extends State<QRViewExample> { |
|
|
|
super.reassemble(); |
|
|
|
if (Platform.isAndroid) { |
|
|
|
controller.pauseCamera(); |
|
|
|
} else if (Platform.isIOS) { |
|
|
|
controller.resumeCamera(); |
|
|
|
} |
|
|
|
controller.resumeCamera(); |
|
|
|
} |
|
|
|
|
|
|
|
@override |
|
|
|
|