File tree 1 file changed +6
-5
lines changed
Sample/Direct/LocalNotification.Sample.Android
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,12 @@ protected override void OnCreate(Bundle savedInstanceState)
23
23
global ::Xamarin . Forms . Forms . Init ( this , savedInstanceState ) ;
24
24
25
25
// Must create a Notification Channel when API >= 26
26
- // Can created multiple Notification Channels with different names.
27
- NotificationCenter . CreateNotificationChannel ( new Plugin . LocalNotification . Platform . Droid . NotificationChannelRequest
28
- {
29
- Sound = Resource . Raw . good_things_happen . ToString ( )
30
- } ) ;
26
+ // you can created multiple Notification Channels with different names.
27
+ NotificationCenter . CreateNotificationChannel (
28
+ new Plugin . LocalNotification . Platform . Droid . NotificationChannelRequest
29
+ {
30
+ Sound = Resource . Raw . good_things_happen . ToString ( )
31
+ } ) ;
31
32
32
33
LoadApplication ( new App ( ) ) ;
33
34
You can’t perform that action at this time.
0 commit comments