Skip to content

Commit

Permalink
Bump version to 1.1.0.0
Browse files Browse the repository at this point in the history
Bump version to 1.1.0.0
  • Loading branch information
0x7c13 committed Mar 2, 2020
1 parent 691e7bd commit 2b2cf46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Notepads/Core/NotepadsCore.cs
Expand Up @@ -743,11 +743,11 @@ private async void Sets_Drop(object sender, DragEventArgs args)
var index = -1;

// Determine which items in the list our pointer is in between.
for (int i = 0; i < sets.Items.Count; i++)
for (int i = 0; i < sets.Items?.Count; i++)
{
var item = sets.ContainerFromIndex(i) as SetsViewItem;

if (args.GetPosition(item).X - item.ActualWidth < 0)
if (args.GetPosition(item).X - item?.ActualWidth < 0)
{
index = i;
break;
Expand Down Expand Up @@ -799,7 +799,7 @@ private void Sets_DragItemsCompleted(ListViewBase sender, DragItemsCompletedEven

private async void Sets_SetDraggedOutside(object sender, SetDraggedOutsideEventArgs e)
{
if (Sets.Items.Count > 1 && e.Set.Content is ITextEditor textEditor)
if (Sets.Items?.Count > 1 && e.Set.Content is ITextEditor textEditor)
{
// Only allow untitled empty document to be dragged outside for now
if (!textEditor.IsModified && textEditor.EditingFile == null)
Expand Down
2 changes: 1 addition & 1 deletion src/Notepads/Package.appxmanifest
Expand Up @@ -13,7 +13,7 @@
<Identity
Name="Notepads"
Publisher="CN=jackil"
Version="1.0.4.0" />
Version="1.1.0.0" />

<mp:PhoneIdentity PhoneProductId="dde28e6c-0f89-4885-83bc-51d9580080a1" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>

Expand Down

0 comments on commit 2b2cf46

Please sign in to comment.