Namespace
This commit is contained in:
@@ -2,8 +2,7 @@
|
|||||||
using Android.Content.PM;
|
using Android.Content.PM;
|
||||||
using Android.OS;
|
using Android.OS;
|
||||||
|
|
||||||
namespace Jugenddienst_Stunden {
|
namespace Jugenddienst_Stunden;
|
||||||
[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, LaunchMode = LaunchMode.SingleTop, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)]
|
[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, LaunchMode = LaunchMode.SingleTop, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)]
|
||||||
public class MainActivity : MauiAppCompatActivity {
|
public class MainActivity : MauiAppCompatActivity {
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,17 +1,16 @@
|
|||||||
using Android.App;
|
using Android.App;
|
||||||
using Android.Runtime;
|
using Android.Runtime;
|
||||||
|
|
||||||
namespace Jugenddienst_Stunden {
|
namespace Jugenddienst_Stunden;
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
[Application(UsesCleartextTraffic = true)]
|
[Application(UsesCleartextTraffic = true)]
|
||||||
#else
|
#else
|
||||||
[Application]
|
[Application]
|
||||||
#endif
|
#endif
|
||||||
public class MainApplication : MauiApplication {
|
public class MainApplication : MauiApplication {
|
||||||
public MainApplication(IntPtr handle, JniHandleOwnership ownership)
|
public MainApplication(nint handle, JniHandleOwnership ownership)
|
||||||
: base(handle, ownership) {
|
: base(handle, ownership) {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
|
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user