Revert "build(android): downgrade Avalonia 12 -> 11.3.20 + Avalonia.Maui 11.3.0"
This reverts commit a4bc7b5e6a.
This commit is contained in:
parent
a4bc7b5e6a
commit
77a7693276
8 changed files with 30 additions and 74 deletions
|
|
@ -2,7 +2,6 @@ using Android.App;
|
|||
using Android.Content.PM;
|
||||
using Android.Content;
|
||||
using Avalonia.Android;
|
||||
using Avalonia;
|
||||
using AndroidX.Emoji2.Text;
|
||||
|
||||
namespace PostIt.Android;
|
||||
|
|
@ -15,15 +14,8 @@ namespace PostIt.Android;
|
|||
MainLauncher = true,
|
||||
LaunchMode = LaunchMode.SingleTask,
|
||||
ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.ScreenSize | ConfigChanges.UiMode)]
|
||||
public class MainActivity : AvaloniaMainActivity<App>
|
||||
public class MainActivity : AvaloniaMainActivity
|
||||
{
|
||||
protected override AppBuilder CustomizeAppBuilder(AppBuilder builder)
|
||||
{
|
||||
return base.CustomizeAppBuilder(builder)
|
||||
.UseMaui<PostIt.Maui.MauiEmbeddingApp>(this)
|
||||
.WithInterFont();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Strongly-typed handle to the current MainActivity instance, set in
|
||||
/// <see cref="OnCreate"/> and consumed by platform services such as
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue