mirror of
https://github.com/hackku21/nearby_connections.git
synced 2026-03-02 03:49:22 +00:00
added contributing.md
This commit is contained in:
@@ -102,13 +102,11 @@ class _MyBodyState extends State<Body> {
|
||||
child: Text("checkLocationEnabled"),
|
||||
onPressed: () async {
|
||||
if (await Nearby().checkLocationEnabled()) {
|
||||
Scaffold.of(context).showSnackBar(SnackBar(
|
||||
content:
|
||||
Text("Location is ON :)")));
|
||||
Scaffold.of(context).showSnackBar(
|
||||
SnackBar(content: Text("Location is ON :)")));
|
||||
} else {
|
||||
Scaffold.of(context).showSnackBar(SnackBar(
|
||||
content: Text(
|
||||
"Location is OFF :(")));
|
||||
Scaffold.of(context).showSnackBar(
|
||||
SnackBar(content: Text("Location is OFF :(")));
|
||||
}
|
||||
},
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user