-
Notifications
You must be signed in to change notification settings - Fork 362
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #507 from LedgerHQ/feat/LIVE-2536-llm-notification…
…s-prompts LLM notifications prompts
- Loading branch information
Showing
39 changed files
with
1,850 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"live-mobile": minor | ||
"@ledgerhq/live-common": minor | ||
--- | ||
|
||
Push notifications support added to ledger live mobile, new 'notifications' section added to the settings to enable or disable them, new modal added to ask the user if he wants to allow the notifications |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
.../ledgerlivemobile.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>PreviewsEnabled</key> | ||
<false/> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// @flow | ||
|
||
import type { EventTrigger, DataOfUser } from "../logic/notifications"; | ||
|
||
export const setNotificationsModalOpen = ( | ||
isPushNotificationsModalOpen: boolean, | ||
) => ({ | ||
type: "NOTIFICATIONS_SET_MODAL_OPEN", | ||
isPushNotificationsModalOpen, | ||
}); | ||
|
||
export const setNotificationsModalLocked = ( | ||
isPushNotificationsModalLocked: boolean, | ||
) => ({ | ||
type: "NOTIFICATIONS_SET_MODAL_LOCKED", | ||
isPushNotificationsModalLocked, | ||
}); | ||
|
||
export const setNotificationsModalType = (notificationsModalType: string) => ({ | ||
type: "NOTIFICATIONS_SET_MODAL_TYPE", | ||
notificationsModalType, | ||
}); | ||
|
||
export const setNotificationsCurrentRouteName = ( | ||
currentRouteName?: string, | ||
) => ({ | ||
type: "NOTIFICATIONS_SET_CURRENT_ROUTE_NAME", | ||
currentRouteName, | ||
}); | ||
|
||
export const setNotificationsEventTriggered = ( | ||
eventTriggered?: EventTrigger, | ||
) => ({ | ||
type: "NOTIFICATIONS_SET_EVENT_TRIGGERED", | ||
eventTriggered, | ||
}); | ||
|
||
export const setNotificationsDataOfUser = (dataOfUser?: DataOfUser) => ({ | ||
type: "NOTIFICATIONS_SET_DATA_OF_USER", | ||
dataOfUser, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.