Kaynağa Gözat
Merge pull request #258 from juliuscanute/hot-reload
Fixed hot reload not working.
flutter-beta
Julian Steenbakker
5 yıl önce
committed by
GitHub
ebeveyn
işleme
a74dbe6b86
Veri tabanında bu imza için bilinen anahtar bulunamadı
GPG Anahtar Kimliği: 4AEE18F83AFDEB23
1 değiştirilmiş dosya ile
1 ekleme ve
2 silme
-
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 |
|
|
|
|