Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cordova-plugin-local-notifications
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nabil Sadki
cordova-plugin-local-notifications
Commits
b7eb94cb
Commit
b7eb94cb
authored
Sep 06, 2017
by
Sebastián Katzer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed image to icon
parent
d1e647cc
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
Builder.cs
...Proxy/LocalNotificationProxy/LocalNotification/Builder.cs
+1
-1
Notification.cs
.../LocalNotificationProxy/LocalNotification/Notification.cs
+2
-2
Options.cs
...Proxy/LocalNotificationProxy/LocalNotification/Options.cs
+4
-4
No files found.
src/windows/LocalNotificationProxy/LocalNotificationProxy/LocalNotification/Builder.cs
View file @
b7eb94cb
...
@@ -104,7 +104,7 @@ namespace LocalNotificationProxy.LocalNotification
...
@@ -104,7 +104,7 @@ namespace LocalNotificationProxy.LocalNotification
}
}
},
},
AppLogoOverride
=
this
.
Content
.
I
mage
AppLogoOverride
=
this
.
Content
.
I
con
}
}
},
},
...
...
src/windows/LocalNotificationProxy/LocalNotificationProxy/LocalNotification/Notification.cs
View file @
b7eb94cb
...
@@ -101,12 +101,12 @@
...
@@ -101,12 +101,12 @@
/// <summary>
/// <summary>
/// Gets a GenericAppLogo object based on the specified icon uri.
/// Gets a GenericAppLogo object based on the specified icon uri.
/// </summary>
/// </summary>
public
ToastGenericAppLogo
I
mage
public
ToastGenericAppLogo
I
con
{
{
get
get
{
{
var
image
=
new
ToastGenericAppLogo
();
var
image
=
new
ToastGenericAppLogo
();
var
path
=
this
.
Options
.
I
mage
;
var
path
=
this
.
Options
.
I
con
;
if
(
path
==
null
||
path
.
StartsWith
(
"res://logo"
))
if
(
path
==
null
||
path
.
StartsWith
(
"res://logo"
))
{
{
...
...
src/windows/LocalNotificationProxy/LocalNotificationProxy/LocalNotification/Options.cs
View file @
b7eb94cb
...
@@ -58,7 +58,7 @@ namespace LocalNotificationProxy.LocalNotification
...
@@ -58,7 +58,7 @@ namespace LocalNotificationProxy.LocalNotification
/// <summary>
/// <summary>
/// Gets or sets the notification image.
/// Gets or sets the notification image.
/// </summary>
/// </summary>
public
string
I
mage
{
get
;
set
;
}
public
string
I
con
{
get
;
set
;
}
/// <summary>
/// <summary>
/// Gets or sets a value indicating whether the popup shall be visible.
/// Gets or sets a value indicating whether the popup shall be visible.
...
@@ -123,7 +123,7 @@ namespace LocalNotificationProxy.LocalNotification
...
@@ -123,7 +123,7 @@ namespace LocalNotificationProxy.LocalNotification
if
(
node
.
GetAttributeNode
(
"image"
)
!=
null
)
if
(
node
.
GetAttributeNode
(
"image"
)
!=
null
)
{
{
options
.
I
mage
=
node
.
GetAttribute
(
"image"
);
options
.
I
con
=
node
.
GetAttribute
(
"image"
);
}
}
if
(
node
.
GetAttributeNode
(
"data"
)
!=
null
)
if
(
node
.
GetAttributeNode
(
"data"
)
!=
null
)
...
@@ -185,9 +185,9 @@ namespace LocalNotificationProxy.LocalNotification
...
@@ -185,9 +185,9 @@ namespace LocalNotificationProxy.LocalNotification
node
.
SetAttribute
(
"sound"
,
this
.
Sound
);
node
.
SetAttribute
(
"sound"
,
this
.
Sound
);
}
}
if
(
this
.
I
mage
!=
null
)
if
(
this
.
I
con
!=
null
)
{
{
node
.
SetAttribute
(
"image"
,
this
.
I
mage
);
node
.
SetAttribute
(
"image"
,
this
.
I
con
);
}
}
if
(
this
.
Data
!=
null
)
if
(
this
.
Data
!=
null
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment