Skip to content

Commit

Permalink
style: format code with dotnet-format
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in e8d1272 according to the output
from dotnet-format.

Details: None
  • Loading branch information
deepsource-autofix[bot] authored Dec 19, 2023
1 parent e8d1272 commit dabd2b9
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions MauiBells/MauiProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ public static MauiApp CreateMauiApp()
{
var builder = MauiApp.CreateBuilder();
builder.UseMauiApp<App>()
.ConfigureMauiHandlers(handlers =>
{
handlers.AddHandler<CalendarView, CalendarHandler>();
});
.ConfigureMauiHandlers(handlers =>
{
handlers.AddHandler<CalendarView, CalendarHandler>();
});

return builder.Build();
}
Expand Down
2 changes: 1 addition & 1 deletion MauiBells/Platforms/Android/CalendarHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ protected override void ConnectHandler(Calendar platformView)
private void PlatformView_SelectedDatesChanged(object? sender, Calendar.DateChangeEventArgs e)
{
PlatformView.DateChange -= PlatformView_SelectedDatesChanged;
VirtualView.SelectedDate = new DateTime(e.Year, e.Month + 1, e.DayOfMonth, 0,0,0);
VirtualView.SelectedDate = new DateTime(e.Year, e.Month + 1, e.DayOfMonth, 0, 0, 0);
VirtualView.OnSelectedDateChanged(VirtualView.SelectedDate);
PlatformView.DateChange += PlatformView_SelectedDatesChanged;
}
Expand Down
6 changes: 3 additions & 3 deletions MauiBells/Platforms/MacCatalyst/CalendarHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ protected override UICalendarView CreatePlatformView()

private static void MapFirstDayOfWeek(CalendarHandler handler, ICalendarView virtualView)
{

}
private static void MapMinDate(CalendarHandler handler, ICalendarView virtualView)
{

}

private static void MapMaxDate(CalendarHandler handler, ICalendarView virtualView)
Expand All @@ -26,6 +26,6 @@ private static void MapMaxDate(CalendarHandler handler, ICalendarView virtualVie

private static void MapSelectedDate(CalendarHandler handler, ICalendarView virtualView)
{

}
}
6 changes: 3 additions & 3 deletions MauiBells/Platforms/Tizen/CalendarHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ protected override CalendarView CreatePlatformView()

private static void MapFirstDayOfWeek(CalendarHandler handler, ICalendarView virtualView)
{

}
private static void MapMinDate(CalendarHandler handler, ICalendarView virtualView)
{

}

private static void MapMaxDate(CalendarHandler handler, ICalendarView virtualView)
Expand All @@ -25,6 +25,6 @@ private static void MapMaxDate(CalendarHandler handler, ICalendarView virtualVie

private static void MapSelectedDate(CalendarHandler handler, ICalendarView virtualView)
{

}
}
2 changes: 1 addition & 1 deletion MauiBells/Platforms/Windows/CalendarHandler.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
namespace MauiBells.Calendar;

using Windows.Globalization;
using Microsoft.Maui.Handlers;
using Microsoft.UI.Xaml.Controls;
using Windows.Globalization;
using Calendar = Microsoft.UI.Xaml.Controls.CalendarView;

public partial class CalendarHandler : ViewHandler<ICalendarView, Calendar>
Expand Down
6 changes: 3 additions & 3 deletions MauiBells/Platforms/iOS/CalendarHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ protected override UICalendarView CreatePlatformView()

private static void MapFirstDayOfWeek(CalendarHandler handler, ICalendarView virtualView)
{

}
private static void MapMinDate(CalendarHandler handler, ICalendarView virtualView)
{

}

private static void MapMaxDate(CalendarHandler handler, ICalendarView virtualView)
Expand All @@ -26,6 +26,6 @@ private static void MapMaxDate(CalendarHandler handler, ICalendarView virtualVie

private static void MapSelectedDate(CalendarHandler handler, ICalendarView virtualView)
{

}
}

0 comments on commit dabd2b9

Please sign in to comment.