Skip to content

Commit 945b652

Browse files
committed
Updated demo.
1 parent 1e57527 commit 945b652

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

demo/.godot/uid_cache.bin

448 Bytes
Binary file not shown.

demo/Main.gd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func _create_channel() -> void:
6464

6565
if __result != OK:
6666
match __result:
67-
ERR_UNAVAILABLE:
67+
ERR_UNCONFIGURED:
6868
_print_to_screen("Can't create channel %s because plugin not initialized!" % channel_id)
6969
ERR_ALREADY_EXISTS:
7070
_print_to_screen("Can't create channel %s because it already exists!" % channel_id)
@@ -83,10 +83,10 @@ func _on_send_button_pressed() -> void:
8383
.set_channel_id(channel_id)\
8484
.set_title(notification_title)\
8585
.set_content(notification_text)\
86-
.set_delay(_delay_slider.value)
86+
.set_delay(roundi(_delay_slider.value))
8787

8888
if _interval_checkbox.button_pressed:
89-
__notification_data.set_interval(_interval_slider.value)
89+
__notification_data.set_interval(roundi(_interval_slider.value))
9090

9191
if _restart_checkbox.button_pressed:
9292
__notification_data.set_restart_app_option()

demo/Main.tscn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[ext_resource type="Script" uid="uid://bd23rk21snlwn" path="res://Main.gd" id="1_r6ksj"]
44
[ext_resource type="Texture2D" uid="uid://b11m8fw2showh" path="res://assets/notification-scheduler-android.png" id="2_7rmrj"]
5-
[ext_resource type="Script" uid="uid://bcwf1l618ham1" path="res://addons/NotificationSchedulerPlugin/NotificationScheduler.gd" id="3_guixi"]
5+
[ext_resource type="Script" uid="uid://o8yuf6djrtal" path="res://addons/NotificationSchedulerPlugin/NotificationScheduler.gd" id="3_guixi"]
66

77
[node name="Main" type="Node"]
88
script = ExtResource("1_r6ksj")

demo/assets/NotificationSchedulerPlugin/drawable-hdpi/ic_default_notification.png.import

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
importer="texture"
44
type="CompressedTexture2D"
5-
uid="uid://b3hfpip8550ct"
5+
uid="uid://b5sde2pfh6ty3"
66
path="res://.godot/imported/ic_default_notification.png-c8acffeef15386bfb6b8347026c00627.ctex"
77
metadata={
88
"vram_texture": false

demo/assets/NotificationSchedulerPlugin/drawable-mdpi/ic_default_notification.png.import

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
importer="texture"
44
type="CompressedTexture2D"
5-
uid="uid://dw3tn4jpluuv0"
5+
uid="uid://8cd1b7fjp2ge"
66
path="res://.godot/imported/ic_default_notification.png-6bb17ad801a05b804521c71c2de79648.ctex"
77
metadata={
88
"vram_texture": false

demo/assets/NotificationSchedulerPlugin/drawable-xhdpi/ic_default_notification.png.import

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
importer="texture"
44
type="CompressedTexture2D"
5-
uid="uid://pvv02qycqta3"
5+
uid="uid://bnkrclvjfo5jg"
66
path="res://.godot/imported/ic_default_notification.png-1d68ed50e5664294b1e9c970ff5be5ca.ctex"
77
metadata={
88
"vram_texture": false

demo/assets/NotificationSchedulerPlugin/drawable-xxhdpi/ic_default_notification.png.import

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
importer="texture"
44
type="CompressedTexture2D"
5-
uid="uid://berg60hqs50fg"
5+
uid="uid://dn8v5o41hbw8t"
66
path="res://.godot/imported/ic_default_notification.png-5333da9251ee99ef259646e93fcc94d3.ctex"
77
metadata={
88
"vram_texture": false

0 commit comments

Comments
 (0)