Browse Source
Remove IInsetsManager.DisplayEdgeToEdge
pull/20617/head
Julien Lebosquain
1 day ago
No known key found for this signature in database
GPG Key ID: 1833CAD10ACC46FD
2 changed files with
0 additions and
11 deletions
-
src/Android/Avalonia.Android/Platform/AndroidInsetsManager.cs
-
src/Avalonia.Controls/Platform/IInsetsManager.cs
|
|
|
@ -318,8 +318,6 @@ namespace Avalonia.Android.Platform |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public bool DisplayEdgeToEdge { get => DisplaysEdgeToEdge; set => DisplayEdgeToEdgePreference = value; } |
|
|
|
|
|
|
|
public bool DisplaysEdgeToEdge => _displaysEdgeToEdge; |
|
|
|
|
|
|
|
internal void ApplyStatusBarState() |
|
|
|
|
|
|
|
@ -3,7 +3,6 @@ using Avalonia.Media; |
|
|
|
using Avalonia.Metadata; |
|
|
|
using Avalonia.Threading; |
|
|
|
|
|
|
|
#nullable enable |
|
|
|
namespace Avalonia.Controls.Platform |
|
|
|
{ |
|
|
|
[NotClientImplementable] |
|
|
|
@ -19,13 +18,6 @@ namespace Avalonia.Controls.Platform |
|
|
|
/// </summary>
|
|
|
|
bool DisplayEdgeToEdgePreference { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets whether the window draws edge to edge. behind any visible system bars.
|
|
|
|
/// </summary>
|
|
|
|
[Obsolete("Use DisplayEdgeToEdgePreference")] |
|
|
|
bool DisplayEdgeToEdge { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets whether the window is currently displaying edge to edge.
|
|
|
|
/// </summary>
|
|
|
|
@ -52,7 +44,6 @@ namespace Avalonia.Controls.Platform |
|
|
|
{ |
|
|
|
public virtual bool? IsSystemBarVisible { get; set; } |
|
|
|
public virtual bool DisplayEdgeToEdgePreference { get; set; } |
|
|
|
public virtual bool DisplayEdgeToEdge { get => DisplaysEdgeToEdge; set => DisplayEdgeToEdgePreference = value; } |
|
|
|
public virtual Thickness SafeAreaPadding { get; protected set; } |
|
|
|
public virtual Color? SystemBarColor { get; set; } |
|
|
|
public virtual bool DisplaysEdgeToEdge => DisplayEdgeToEdgePreference; |
|
|
|
|