Skip to content

Commit 65b19e8

Browse files
committed
update examples
1 parent 98ddf00 commit 65b19e8

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "win32_notif"
3-
version = "0.5.1"
3+
version = "0.5.2"
44
edition = "2021"
55
description = "Wrapper around Windows UWP XAML (WinRT) Notification api"
66
license = "MIT"

examples/simple.rs

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
use std::{thread, time::Duration};
2-
31
use win32_notif::{
4-
notification::{actions::{
5-
action::{ActivationType, AfterActivationBehavior, HintButtonStyle},
6-
input::{InputType, Selection},
7-
ActionButton, Input,
8-
}, group::{Group, SubGroup}, visual::{text::{HintAlign, HintStyle}, Text}},
9-
string, NotificationActivatedEventHandler, NotificationBuilder, NotificationDataSet,
2+
notification::{
3+
group::{Group, SubGroup},
4+
visual::{text::{HintAlign, HintStyle}, Text}
5+
},
6+
NotificationBuilder,
107
ToastsNotifier,
118
};
129

0 commit comments

Comments
 (0)