Skip to content

Commit

Permalink
refactor: add default name when no name is detected
Browse files Browse the repository at this point in the history
  • Loading branch information
re2005 committed May 10, 2020
1 parent e932ca5 commit 8a62698
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<widget id="app.onepointfive" version="1.0.4"
<widget id="app.onepointfive" version="1.0.5"
xmlns="http://www.w3.org/ns/widgets"
xmlns:android="http://schemas.android.com/apk/res/android">
<name short="1point5">app 1point5</name>
Expand Down
Binary file modified docs/1point5.sketch
Binary file not shown.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
pushNotification(d: any) {
window.cordova.plugins.notification.local.schedule({
title: 'Please keep distance',
text: d.name + ' is too close',
text: (d.name || 'Unknown device') + ' is too close',
icon: 'file://distance.png',
smallIcon: 'res://notification.png',
foreground: false
Expand Down

0 comments on commit 8a62698

Please sign in to comment.