Fix notification activation and calendar bootstrap flow
This commit is contained in:
@@ -20,8 +20,7 @@
|
||||
CornerRadius="4"
|
||||
DoubleTapped="ControlDoubleTapped"
|
||||
RightTapped="ControlRightTapped"
|
||||
Tapped="ControlTapped"
|
||||
ToolTipService.ToolTip="{x:Bind CalendarItem.DisplayTitle, Mode=OneWay}">
|
||||
Tapped="ControlTapped">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="5" />
|
||||
<ColumnDefinition Width="*" />
|
||||
@@ -36,6 +35,9 @@
|
||||
Placement="BottomEdgeAlignedLeft"
|
||||
ShowMode="Auto" />
|
||||
</Grid.ContextFlyout>
|
||||
<ToolTipService.ToolTip>
|
||||
<ToolTip Content="{x:Bind CalendarItem.DisplayTitle, Mode=OneWay}" />
|
||||
</ToolTipService.ToolTip>
|
||||
|
||||
|
||||
<Grid
|
||||
|
||||
@@ -443,10 +443,13 @@ public sealed partial class CalendarPeriodControl : UserControl, INotifyProperty
|
||||
return;
|
||||
}
|
||||
|
||||
calendarItemViewModel.DisplayingPeriod = new TimeRange(
|
||||
DispatcherQueue.TryEnqueue(() =>
|
||||
{
|
||||
calendarItemViewModel.DisplayingPeriod = new TimeRange(
|
||||
date.ToDateTime(TimeOnly.MinValue),
|
||||
date.AddDays(1).ToDateTime(TimeOnly.MinValue));
|
||||
calendarItemViewModel.CalendarSettings = CalendarSettings;
|
||||
calendarItemViewModel.CalendarSettings = CalendarSettings;
|
||||
});
|
||||
}
|
||||
|
||||
private static VisibleDateRange CreateLayoutRange(VisibleDateRange visibleRange, CalendarSettings calendarSettings)
|
||||
|
||||
Reference in New Issue
Block a user