Skip to content

Commit 7f2689b

Browse files
committed
[receive] iOSとAndroidでカメラを押しても何も起きない問題を修正
1 parent c208db9 commit 7f2689b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/widget/receive_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class _ReceivePageState extends State<ReceivePage>
6262
}
6363

6464
// 権限の確認
65-
if (Platform.isIOS && Platform.isAndroid) {
65+
if (Platform.isIOS || Platform.isAndroid) {
6666
if (await Permission.camera.request().isGranted) {
6767
popQRScreen();
6868
} else {

0 commit comments

Comments
 (0)