Toasts – Diff between revs 43 and 49
?pathlinks?
Rev 43 | Rev 49 | |||
---|---|---|---|---|
Line 9... | Line 9... | |||
9 | |
9 | |
|
10 | namespace Toasts |
10 | namespace Toasts |
|
11 | { |
11 | { |
|
12 | public class ToastDisplayData : INotifyPropertyChanged |
12 | public class ToastDisplayData : INotifyPropertyChanged |
|
- | 13 | { |
||
13 | { |
14 | private string _userAgent; |
|
14 | private string _title; |
15 | private string _title; |
|
15 | private string _body; |
16 | private string _body; |
|
16 | private bool _enableChime; |
17 | private bool _enableChime; |
|
17 | private byte[] _chime; |
18 | private byte[] _chime; |
|
Line 51... | Line 52... | |||
51 | { |
52 | { |
|
52 | if (value == _contentHeight) return; |
53 | if (value == _contentHeight) return; |
|
53 | _contentHeight = value; |
54 | _contentHeight = value; |
|
54 | OnPropertyChanged(); |
55 | OnPropertyChanged(); |
|
55 | } |
56 | } |
|
- | 57 | } |
||
- | 58 | |
||
- | 59 | public string UserAgent |
||
- | 60 | { |
||
- | 61 | get => _userAgent; |
||
- | 62 | set |
||
- | 63 | { |
||
- | 64 | if (value == _userAgent) return; |
||
- | 65 | _userAgent = value; |
||
- | 66 | OnPropertyChanged(); |
||
- | 67 | } |
||
56 | } |
68 | } |
|
Line 57... | Line 69... | |||
57 | |
69 | |
|
58 | public bool EnableChime |
70 | public bool EnableChime |
|
59 | { |
71 | { |