Play Console and others
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
//using AndroidX.Browser.Trusted;
|
||||
|
||||
|
||||
namespace Jugenddienst_Stunden {
|
||||
public partial class App : Application {
|
||||
public App() {
|
||||
@@ -7,11 +6,42 @@ namespace Jugenddienst_Stunden {
|
||||
|
||||
MainPage = new AppShell();
|
||||
|
||||
//Models.Auth.Main(new string[] { "http://hours.dauni.mine.nu:81/appapi", "OTI6Y1JVUS9RTG1jMTZUbnN2c2JZRm5yRDNiUTZz" }); //Angelika
|
||||
//Models.Auth.Main(new string[] { "http://hours.dauni.mine.nu:81/appapi", "Njc6cjltcVJ1SmtITUtFZ3llUVpJcWJzc2NDejVZ" }); //Dario
|
||||
|
||||
//Models.Auth.Main(new string[] { "http://hours.dauni.mine.nu:81/appapi?hours", "MTQzfEFlMVRjQXdZMnI4RmpxZ0FSY3A0VEN2bVZYVXxodHRwOi8vaG91cnMuZGF1bmkubWluZS5udTo4MS9hcHBhcGk=" }); //Christine
|
||||
|
||||
}
|
||||
|
||||
|
||||
//protected override Window CreateWindow(IActivationState activationState) =>
|
||||
//new Window(new AppShell()) {
|
||||
// Width = 500,
|
||||
// Height = 900
|
||||
//};
|
||||
|
||||
|
||||
// protected override Window CreateWindow(IActivationState activationState) {
|
||||
// Window window = base.CreateWindow(activationState);
|
||||
// window.Activated += Window_Activated;
|
||||
// return window;
|
||||
// }
|
||||
|
||||
// private async void Window_Activated(object sender, EventArgs e) {
|
||||
//#if WINDOWS
|
||||
// const int DefaultWidth = 500;
|
||||
// const int DefaultHeight = 900;
|
||||
|
||||
// var window = sender as Window;
|
||||
|
||||
// // change window size.
|
||||
// window.Width = DefaultWidth;
|
||||
// window.Height = DefaultHeight;
|
||||
|
||||
// // give it some time to complete window resizing task.
|
||||
// await window.Dispatcher.DispatchAsync(() => { });
|
||||
|
||||
// var disp = DeviceDisplay.Current.MainDisplayInfo;
|
||||
|
||||
// // move to screen center
|
||||
// //window.X = (disp.Width / disp.Density - window.Width) / 2;
|
||||
// //window.Y = (disp.Height / disp.Density - window.Height) / 2;
|
||||
//#endif
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user