Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
xtuzy committed Sep 4, 2023
1 parent 96ddf26 commit 4a85349
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions DemoTest/Pages/ViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,8 @@ public MAUICollectionViewViewHolder ViewHolderForItemMethod(MAUICollectionView t
cell = simpleCell;
}
}
//if (cell.ContextMenu != null)
//cell.ContextMenu.IsEnable = true;
if (cell.ContextMenu != null)
cell.ContextMenu.IsEnable = !tableView.CanDrag;

return cell;
}
Expand Down Expand Up @@ -490,7 +490,7 @@ public MAUICollectionViewViewHolder BindingItemMethod(MAUICollectionView tableVi
(cell as ItemViewHolderSimple).ModelView.TestButton.Text = indexPath.ToString();
}
if (cell.ContextMenu != null)
cell.ContextMenu.IsEnable = true;
cell.ContextMenu.IsEnable = !tableView.CanDrag;

return cell;
}
Expand Down
3 changes: 2 additions & 1 deletion MauiUICollectionView/MauiUICollectionView.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
<PackageId>Yang.MAUICollectionView</PackageId>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Version>0.0.2-pre</Version>
<Version>0.0.3-pre</Version>
<RepositoryUrl>https://github.com/xtuzy/MAUICollectionView</RepositoryUrl>
<PackageProjectUrl>https://github.com/xtuzy/MAUICollectionView</PackageProjectUrl>
<PackageTags>maui collectionview listview</PackageTags>
Expand All @@ -28,6 +28,7 @@
<PackageReleaseNotes>first version, fix some little bug</PackageReleaseNotes>
<Title>Yang.MAUICollectionView</Title>
<Authors>xtuzy</Authors>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
</PropertyGroup>

<ItemGroup Condition="$(TargetFramework.Contains('ios')) == false and $(TargetFramework.Contains('maccatalyst'))==false">
Expand Down

0 comments on commit 4a85349

Please sign in to comment.