Skip to content

Commit 437747e

Browse files
authored
Merge pull request #250 from ifBars/agent/fix-phone-app-notification-badge
fix(phoneapp): hide default notification badge
2 parents 3238cb7 + a0c4965 commit 437747e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

S1API/PhoneApp/PhoneApp.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,8 @@ internal void SpawnIcon(HomeScreen homeScreenInstance)
394394
}
395395

396396
GameObject iconObject = Object.Instantiate(iconPrefab, parent);
397+
iconObject.transform.Find("Notifications")?.gameObject.SetActive(false);
398+
397399
Button? button = iconObject.GetComponent<Button>();
398400
UISelectable? selectable = iconObject.GetComponent<UISelectable>();
399401
if (button == null || selectable == null)

0 commit comments

Comments
 (0)