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
2 changes: 1 addition & 1 deletion src/Compatibility/Core/src/AppHostBuilderExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public static IAppHostBuilder RegisterCompatibilityRenderers(this IAppHostBuilde
var defaultHandlers = new List<Type>
{
typeof(Button) ,
typeof(Editor),
typeof(Editor),
typeof(Entry) ,
typeof(ContentPage) ,
typeof(Page) ,
Expand Down
2 changes: 1 addition & 1 deletion src/Controls/src/Core/Entry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ void IFontElement.OnFontSizeChanged(double oldValue, double newValue) =>
void IFontElement.OnFontChanged(Font oldValue, Font newValue) =>
HandleFontChanged();

void HandleFontChanged()
void HandleFontChanged()
{
// Null out the Maui font value so it will be recreated next time it's accessed
_font = null;
Expand Down
2 changes: 1 addition & 1 deletion src/Controls/src/Core/HandlerImpl/ProgressBar.Impl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
{
public partial class ProgressBar : IProgress
{

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public BindingDiagnosticsTests(bool useCompiledXaml)
[TestFixture]
#if !DEBUG
[Ignore("This test runs only in debug")]
#endif
#endif
public class Tests
{
[SetUp] public void Setup() => Device.PlatformServices = new MockPlatformServices();
Expand Down
2 changes: 1 addition & 1 deletion src/Controls/tests/Xaml.UnitTests/MSBuild/MSBuildTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ void onData(object s, DataReceivedEventArgs e)

// Add the binlog as a test attachment
var binlog = IOPath.Combine(IOPath.GetDirectoryName(projectFile), "msbuild.binlog");
if (File.Exists (binlog))
if (File.Exists(binlog))
{
TestContext.AddTestAttachment(binlog);
}
Expand Down
4 changes: 2 additions & 2 deletions src/Core/src/Handlers/Label/LabelHandler.Android.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static void MapCharacterSpacing(LabelHandler handler, ILabel label)
handler.TypedNativeView?.UpdateCharacterSpacing(label);
}

public static void MapPadding(LabelHandler handler, ILabel label)
public static void MapPadding(LabelHandler handler, ILabel label)
{
handler.TypedNativeView?.UpdatePadding(label);
}
Expand All @@ -49,7 +49,7 @@ public static void MapTextDecorations(LabelHandler handler, ILabel label)

static void MapFont(LabelHandler handler, ILabel label)
{
var services = App.Current?.Services
var services = App.Current?.Services
?? throw new InvalidOperationException($"Unable to find service provider, the App.Current.Services was null.");
var fontManager = services.GetRequiredService<IFontManager>();

Expand Down
2 changes: 1 addition & 1 deletion src/Core/src/Handlers/Label/LabelHandler.Standard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public static void MapText(IViewHandler handler, ILabel label) { }
public static void MapTextColor(IViewHandler handler, ILabel label) { }
public static void MapCharacterSpacing(IViewHandler handler, ILabel label) { }
public static void MapFont(LabelHandler handler, ILabel label) { }
public static void MapPadding(LabelHandler handler, ILabel label) { }
public static void MapPadding(LabelHandler handler, ILabel label) { }
public static void MapTextDecorations(LabelHandler handler, ILabel label) { }
}
}
2 changes: 1 addition & 1 deletion src/Core/src/Handlers/Label/LabelHandler.iOS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static void MapTextDecorations(LabelHandler handler, ILabel label)

static void MapFont(LabelHandler handler, ILabel label)
{
var services = App.Current?.Services ??
var services = App.Current?.Services ??
throw new InvalidOperationException($"Unable to find service provider, the App.Current.Services was null.");
var fontManager = services.GetRequiredService<IFontManager>();

Expand Down
2 changes: 1 addition & 1 deletion src/Core/src/Platform/Android/EntryExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ internal static void SetInputType(this EditText editText, IEntry entry)

if (!entry.IsTextPredictionEnabled && ((editText.InputType & InputTypes.TextFlagNoSuggestions) != InputTypes.TextFlagNoSuggestions))
editText.InputType |= InputTypes.TextFlagNoSuggestions;

if (entry.IsReadOnly)
editText.InputType = InputTypes.Null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ bool GetNativeIsTextPredictionEnabled(EntryHandler entryHandler) =>
string GetNativePlaceholder(EntryHandler entryHandler) =>
GetNativeEntry(entryHandler).Hint;

bool GetNativeIsReadOnly(EntryHandler entryHandler)
bool GetNativeIsReadOnly(EntryHandler entryHandler)
{
var editText = GetNativeEntry(entryHandler);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using UIKit;
using Microsoft.Maui.Handlers;
using Microsoft.Maui.Handlers;
using UIKit;

namespace Microsoft.Maui.DeviceTests
{
Expand Down