Initial commit
This commit is contained in:
parent
1cbd985c15
commit
bd8973ed23
2 changed files with 10 additions and 8 deletions
|
|
@ -137,11 +137,11 @@ class _page2State extends State<_page2> {
|
|||
await Permission.location.isGranted
|
||||
]);
|
||||
|
||||
if (defaultTargetPlatform == TargetPlatform.android) {
|
||||
perms.add(
|
||||
await Permission.nearbyWifiDevices.isGranted
|
||||
);
|
||||
}
|
||||
// if (defaultTargetPlatform == TargetPlatform.android) {
|
||||
// perms.add(
|
||||
// await Permission.nearbyWifiDevices.isGranted
|
||||
// );
|
||||
// }
|
||||
|
||||
return !perms.contains(false);
|
||||
}
|
||||
|
|
@ -297,7 +297,7 @@ class _page2State extends State<_page2> {
|
|||
width: 16,
|
||||
),
|
||||
|
||||
if (defaultTargetPlatform == TargetPlatform.android)
|
||||
if (defaultTargetPlatform == TargetPlatform.android && false)
|
||||
ShadCard(
|
||||
width: 300,
|
||||
height: double.infinity,
|
||||
|
|
|
|||
|
|
@ -146,11 +146,13 @@ class _HomePage_ReState extends State<HomePage_Re> {
|
|||
],
|
||||
),
|
||||
),
|
||||
|
||||
|
||||
if (false)
|
||||
SizedBox(
|
||||
width: 16,
|
||||
),
|
||||
|
||||
|
||||
if (false)
|
||||
ShadCard(
|
||||
title: const Text("Multi mode"),
|
||||
width: 300,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue