🐛 Bug fixes
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								public/icon.png
									
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								public/icon.png
									
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 85 KiB | 
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 75 KiB | 
| @@ -59,12 +59,12 @@ export const useNotifications = defineStore("notifications", () => { | |||||||
|  |  | ||||||
|       if (Capacitor.getPlatform() === "web") { |       if (Capacitor.getPlatform() === "web") { | ||||||
|         new Notification(data["subject"], { |         new Notification(data["subject"], { | ||||||
|           body: data["subject"] |           body: data["content"] | ||||||
|         }) |         }) | ||||||
|       } else { |       } else { | ||||||
|         LocalNotifications.schedule({ |         LocalNotifications.schedule({ | ||||||
|           notifications: [ |           notifications: [ | ||||||
|             { id: data["id"], title: data["subject"], body: data["subject"] } |             { id: data["id"], title: data["subject"], body: data["content"] } | ||||||
|           ] |           ] | ||||||
|         }).then((res) => console.log(res)) |         }).then((res) => console.log(res)) | ||||||
|       } |       } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user