File tree Expand file tree Collapse file tree 3 files changed +1
-3
lines changed
samples/Samples/Geofences
Shiny.Core/Platforms/Android
Shiny.Locations/Platforms/Android Expand file tree Collapse file tree 3 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 22<ContentPage xmlns =" http://xamarin.com/schemas/2014/forms"
33 xmlns : x =" http://schemas.microsoft.com/winfx/2009/xaml"
44 x : Class =" Samples.Geofences.CreatePage"
5- Style =" {StaticResource ContentPage}"
65 Title =" Create" >
76
87 <ContentPage .ToolbarItems>
Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ public IObservable<PermissionRequestResult> RequestPermissions(params string[] a
232232 var comp = new CompositeDisposable ( ) ;
233233
234234 //https://developer.android.com/training/permissions/requesting
235- var allGood = androidPermissions . Any ( p => ContextCompat . CheckSelfPermission ( this . AppContext , p ) == Permission . Granted ) ;
235+ var allGood = androidPermissions . All ( p => ContextCompat . CheckSelfPermission ( this . AppContext , p ) == Permission . Granted ) ;
236236 if ( allGood )
237237 {
238238 // everything is already good
Original file line number Diff line number Diff line change @@ -68,7 +68,6 @@ await this.services.RunDelegates<IGeofenceDelegate>(
6868 var regions = await this . Repository . GetAll ( ) ;
6969 foreach ( var region in regions )
7070 await this . Create ( region ) ;
71-
7271 }
7372
7473
You can’t perform that action at this time.
0 commit comments