Skip to content

Commit

Permalink
Merge pull request #8 from TonybynMp4/patch-1
Browse files Browse the repository at this point in the history
Add notif icon
  • Loading branch information
itschip authored Nov 3, 2022
2 parents ab4606d + 04b9af5 commit 4673f38
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
15 changes: 15 additions & 0 deletions icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,18 @@ export const AppIcon = () => {
</svg>
);
};

export const NotificationIcon = () => {
return (
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M5.33333 2.66667V26.6667H4V29.3333H9.33333V26.6667H8V20H25.3333C25.687 20 26.0261 19.8595 26.2761 19.6095C26.5262 19.3594 26.6667 19.0203 26.6667 18.6667V5.33334C26.6667 4.97972 26.5262 4.64058 26.2761 4.39053C26.0261 4.14048 25.687 4.00001 25.3333 4.00001H8V2.66667H5.33333ZM10.6667 6.66667V9.33334H13.3333V6.66667H16V9.33334H18.6667V6.66667H21.3333V9.33334H24V12H21.3333V14.6667H24V17.3333H21.3333V14.6667H18.6667V17.3333H16V14.6667H13.3333V17.3333H10.6667V14.6667H8V12H10.6667V9.33334H8V6.66667H10.6667Z"
fill="currentColor"
/>
<path
d="M10.6667 12H13.3333V14.6667H10.6667V12ZM16 12H18.6667V14.6667H16V12ZM13.3333 9.33333H16V12H13.3333V9.33333ZM18.6667 9.33333H21.3333V12H18.6667V9.33333Z"
fill="currentColor"
/>
</svg>
);
};
3 changes: 2 additions & 1 deletion npwd.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import App from './src/App';
import { AppIcon } from './icon';
import { AppIcon, NotificationIcon } from './icon';

const defaultLanguage = 'en';
const localizedAppName = {
Expand All @@ -20,5 +20,6 @@ export default (settings: Settings) => ({
color: '#fff',
backgroundColor: '#e65100',
icon: AppIcon,
notificationIcon: NotificationIcon,
app: App,
});

0 comments on commit 4673f38

Please sign in to comment.