Skip to content

Commit 45037b3

Browse files
committed
v1.59 parsing out NotificationStyles
1 parent 64a0e1c commit 45037b3

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

android_notify/styles.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,14 @@ class NotificationStyles:
66

77
PROGRESS = "progress"
88
INBOX = "inbox"
9+
10+
# v1.59+
11+
# Deprecated
12+
# setBigText == Notification(...,big_picture_path="...",style=NotificationStyles.BIG_TEXT)
13+
# setLargeIcon == Notification(...,large_icon_path="...",style=NotificationStyles.LARGE_ICON)
14+
# setBigPicture == Notification(...,body="...",style=NotificationStyles.BIG_PICTURE)
15+
# Use .refresh to apply any new changes after .send
916
BIG_TEXT = "big_text"
10-
1117
LARGE_ICON = "large_icon"
1218
BIG_PICTURE = "big_picture"
1319
BOTH_IMGS = "both_imgs"

0 commit comments

Comments
 (0)