Skip to content

Commit 9d9adf2

Browse files
authored
Merge pull request #995 from JosephCarrington/patch-1
Switch docs for setShared and isShared
2 parents 390470c + e7fb980 commit 9d9adf2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/src/location.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ class OneSignalLocation {
1010
return await _channel.invokeMethod("OneSignal#requestPermission");
1111
}
1212

13-
/// Allows you to determine if the user's location data is shared with OneSignal.
14-
/// This allows you to do things like geofenced notifications, etc.
13+
/// Set whether location is currently shared with OneSignal.
1514
Future<void> setShared(bool shared) async {
1615
return await _channel.invokeMethod("OneSignal#setShared", shared);
1716
}
1817

19-
/// Set whether location is currently shared with OneSignal.
18+
/// Allows you to determine if the user's location data is shared with OneSignal.
19+
/// This allows you to do things like geofenced notifications, etc.
2020
Future<bool> isShared() async {
2121
return await _channel.invokeMethod("OneSignal#isShared");
2222
}

0 commit comments

Comments
 (0)