Skip to content

Commit 52b4aeb

Browse files
committed
fix inconsistencies
1 parent 9b3bc2b commit 52b4aeb

3 files changed

Lines changed: 7 additions & 12 deletions

File tree

Examples/OneSignalDemoV2/app/src/main/java/com/onesignal/sdktest/data/model/NotificationType.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ enum class NotificationType(
1919
title = "With Image",
2020
notificationTitle = "Image Notification",
2121
notificationBody = "This notification includes an image",
22-
// Use known working URLs from Firebase storage (same as V1 sample app)
23-
bigPicture = "https://i.ytimg.com/vi/C8YBKBuX43Q/maxresdefault.jpg",
24-
largeIcon = "https://pbs.twimg.com/profile_images/719602655337656321/kQUzR2Es_400x400.jpg"
22+
bigPicture = "https://media.onesignal.com/automated_push_templates/ratings_template.png"
2523
)
2624
}

Examples/OneSignalDemoV2/app/src/main/java/com/onesignal/sdktest/ui/components/ListComponents.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import androidx.compose.foundation.layout.size
1111
import androidx.compose.material.icons.Icons
1212
import androidx.compose.material.icons.filled.ExpandLess
1313
import androidx.compose.material.icons.filled.ExpandMore
14-
import androidx.compose.material.icons.outlined.RemoveCircleOutline
14+
import androidx.compose.material.icons.filled.Close
1515
import androidx.compose.material3.HorizontalDivider
1616
import androidx.compose.material3.Icon
1717
import androidx.compose.material3.IconButton
@@ -62,10 +62,10 @@ fun PairItem(
6262
}
6363
IconButton(onClick = onDelete, modifier = Modifier.size(32.dp)) {
6464
Icon(
65-
imageVector = Icons.Outlined.RemoveCircleOutline,
65+
imageVector = Icons.Default.Close,
6666
contentDescription = "Delete",
6767
tint = MaterialTheme.colorScheme.error.copy(alpha = 0.7f),
68-
modifier = Modifier.size(20.dp)
68+
modifier = Modifier.size(18.dp)
6969
)
7070
}
7171
}
@@ -96,10 +96,10 @@ fun SingleItem(
9696
)
9797
IconButton(onClick = onDelete, modifier = Modifier.size(32.dp)) {
9898
Icon(
99-
imageVector = Icons.Outlined.RemoveCircleOutline,
99+
imageVector = Icons.Default.Close,
100100
contentDescription = "Delete",
101101
tint = MaterialTheme.colorScheme.error.copy(alpha = 0.7f),
102-
modifier = Modifier.size(20.dp)
102+
modifier = Modifier.size(18.dp)
103103
)
104104
}
105105
}

Examples/OneSignalDemoV2/build_app_prompt.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,7 @@ Send In-App Message Section (placed right after In-App Messaging):
237237
- Button styling:
238238
- RED background color (#E9444E)
239239
- WHITE text
240-
- Type-specific icon on LEFT side
241-
- Send arrow icon on RIGHT side
240+
- Type-specific icon on LEFT side only (no right side icon)
242241
- Full width of the card
243242
- On click: adds trigger and shows toast "Sent In-App Message: {type}"
244243
@@ -618,8 +617,6 @@ Examples/OneSignalDemoV2/
618617
│ │ │ │ │ ├── MainScreen.kt # Main Compose screen (includes LogView)
619618
│ │ │ │ │ ├── Sections.kt # Individual section composables
620619
│ │ │ │ │ └── MainViewModel.kt # With batch operations
621-
│ │ │ │ ├── splash/
622-
│ │ │ │ │ └── SplashActivity.kt # Compose splash screen
623620
│ │ │ │ ├── secondary/
624621
│ │ │ │ │ └── SecondaryActivity.kt # Simple Compose screen
625622
│ │ │ │ └── theme/

0 commit comments

Comments
 (0)