Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit c16c8c4

Browse files
Automated dotnet-format update (#13717)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent ab2b742 commit c16c8c4

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue13126.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ protected async override void OnParentSet()
5454
await Task.Delay(1000);
5555

5656
_vm.Data.Add(Success);
57-
57+
5858
_vm.IsBusy = false;
5959
}
6060

Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue13126_2.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
namespace Xamarin.Forms.Controls.Issues
2020
{
21-
[Issue(IssueTracker.Github, 13126, "[Bug] Regression: 5.0.0-pre5 often fails to draw dynamically loaded collection view content",
22-
PlatformAffected.iOS, issueTestNumber:1)]
21+
[Issue(IssueTracker.Github, 13126, "[Bug] Regression: 5.0.0-pre5 often fails to draw dynamically loaded collection view content",
22+
PlatformAffected.iOS, issueTestNumber: 1)]
2323
#if UITEST
2424
[NUnit.Framework.Category(UITestCategories.CollectionView)]
2525
#endif

Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/ShellSearchHandlerItemSizing.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public TestSearchHandler()
5959
{
6060
ShowsResults = true;
6161
ItemsSource = Enumerable.Range(0, 100)
62-
.Select(_=> "searchresult")
62+
.Select(_ => "searchresult")
6363
.ToList();
6464
}
6565
}

Xamarin.Forms.Platform.Android/Renderers/ContainerView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ protected override void OnMeasure(int widthMeasureSpec, int heightMeasureSpec)
9494

9595
double? maxHeight = null;
9696

97-
if(MeasureHeight)
97+
if (MeasureHeight)
9898
{
9999
maxHeight = measureHeight;
100100
measureHeight = double.PositiveInfinity;

Xamarin.Forms.Platform.Android/Renderers/ShellFlyoutRecyclerAdapter.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ DataTemplate GetDataTemplate(int viewTypeId)
4949
{
5050
AdapterListItem item = null;
5151

52-
foreach(var ali in _listItems)
52+
foreach (var ali in _listItems)
5353
{
54-
if(viewTypeId == ali.Index)
54+
if (viewTypeId == ali.Index)
5555
{
5656
item = ali;
5757
break;
@@ -80,16 +80,16 @@ public override void OnViewRecycled(Java.Lang.Object holder)
8080
{
8181
// only clear out the Element if the item has been removed
8282
bool found = false;
83-
foreach(var item in _listItems)
83+
foreach (var item in _listItems)
8484
{
85-
if(item.Element == evh.Element)
85+
if (item.Element == evh.Element)
8686
{
8787
found = true;
8888
break;
8989
}
9090
}
9191

92-
if(!found)
92+
if (!found)
9393
evh.Element = null;
9494
}
9595

@@ -222,7 +222,7 @@ protected virtual List<AdapterListItem> GenerateItemList()
222222
AdapterListItem toAdd = null;
223223
foreach (var existingItem in _listItems)
224224
{
225-
if(existingItem.Element == element)
225+
if (existingItem.Element == element)
226226
{
227227
existingItem.DrawTopLine = first;
228228
toAdd = existingItem;

0 commit comments

Comments
 (0)