Skip to content

Commit

Permalink
feat: added notification icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Vali-98 committed Nov 24, 2024
1 parent b3dcda9 commit e4cb7d0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions app.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ module.exports = {
imageWidth: 200,
},
],
[
'expo-notifications',
{
icon: './assets/images/notification.png',
},
],
'./expo-build-plugins/bgactions.plugin.js',
'./expo-build-plugins/copyjni.plugin.js',
'./expo-build-plugins/usercert.plugin.js',
Expand Down
2 changes: 1 addition & 1 deletion app/constants/Chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ type InferenceStateType = {

export const sendGenerateCompleteNotification = async () => {
const showMessage = mmkv.getBoolean(AppSettings.ShowNotificationText)
console.log(showMessage)

const notificationTitle = showMessage
? (Characters.useCharacterCard.getState().card?.name ?? '')
: 'Response Complete'
Expand Down
Binary file added assets/images/notification.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e4cb7d0

Please sign in to comment.