Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ void UpdateSearchBarBackgroundColor(UITextField textField)
if (_defaultBackgroundColor == null)
_defaultBackgroundColor = backgroundView.BackgroundColor;

UIColor backgroundColor = backGroundColor.ToPlatform();
UIColor backgroundColor = backGroundColor.ToPlatform();
backgroundView.BackgroundColor = backgroundColor;
textField.BackgroundColor = backgroundColor;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ public ModalFragment(IMauiContext mauiContext, Page modal)
var statusBarColor = mainActivityWindow.StatusBarColor;
#pragma warning disable CA1422
dialog.Window.SetNavigationBarColor(new AColor(navigationBarColor));
dialog.Window.SetStatusBarColor(new AColor(statusBarColor));
dialog.Window.SetStatusBarColor(new AColor(statusBarColor));
#pragma warning restore CA1422
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public void TestItemDisplayBinding()
Assert.Equal(binding, testView.ItemDisplayBinding);
Assert.Equal(binding, testView.picker.ItemDisplayBinding);
}


}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ namespace Maui.Controls.Sample;

public partial class CollectionViewDynamicOptionsPage : ContentPage
{
private CollectionViewViewModel _viewModel;
private CollectionViewViewModel _viewModel;

public CollectionViewDynamicOptionsPage(CollectionViewViewModel viewModel)
{
Expand Down Expand Up @@ -37,7 +37,7 @@ private void OnEmptyViewChanged(object sender, CheckedChangedEventArgs e)
grid.Children.Add(new Label
{
Text = "No Items Available(Grid View)",

TextColor = Colors.Blue
});
_viewModel.EmptyView = grid;
Expand Down Expand Up @@ -124,7 +124,7 @@ private void OnEmptyViewTemplateChanged(object sender, CheckedChangedEventArgs e
TextColor = Colors.Blue
});
return grid;

});
_viewModel.IsEmptyViewTemplateSelected = true;
}
Expand Down Expand Up @@ -201,7 +201,7 @@ private void OnGroupHeaderTemplateChanged(object sender, CheckedChangedEventArgs
if (GroupHeaderTemplateNone.IsChecked)
{
_viewModel.GroupHeaderTemplate = null;


}
else if (GroupHeaderTemplateGrid.IsChecked)
Expand Down Expand Up @@ -233,7 +233,7 @@ private void OnGroupFooterTemplateChanged(object sender, CheckedChangedEventArgs
if (GroupFooterTemplateNone.IsChecked)
{
_viewModel.GroupFooterTemplate = null;

}
else if (GroupFooterTemplateGrid.IsChecked)
{
Expand Down Expand Up @@ -274,7 +274,7 @@ private void OnItemTemplateChanged(object sender, CheckedChangedEventArgs e)
label.SetBinding(Label.TextProperty, new Binding("Caption"));
return label;
});
_viewModel.IsItemTemplateSelected = true;
_viewModel.IsItemTemplateSelected = true;
}
}

Expand All @@ -298,7 +298,7 @@ private void OnItemsSourceChanged(object sender, CheckedChangedEventArgs e)
_viewModel.ItemsSourceType = ItemsSourceType.ObservableCollection5T;
else if (radioButton == ItemsSourceGroupedList)
_viewModel.ItemsSourceType = ItemsSourceType.GroupedListT;
else if (radioButton == ItemsSourceNone)
else if (radioButton == ItemsSourceNone)
_viewModel.ItemsSourceType = ItemsSourceType.None;
}
}
}
}
Loading