POS-16 Mała naprawa błędów.

This commit is contained in:
Wojciech Przybyła 2020-12-07 14:21:08 +01:00
parent 1bf0b2894b
commit 5a6d58c064
3 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ namespace Klient.Droid
SetContentView(Resource.Layout.ekranLogowania); SetContentView(Resource.Layout.ekranLogowania);
} }
[Java.Interop.Export("In")] [Java.Interop.Export("SignIn")]
async public void SignIn(View v) async public void SignIn(View v)
{ {
var Login = FindViewById<EditText>(Resource.Id.Login).Text; var Login = FindViewById<EditText>(Resource.Id.Login).Text;
@ -56,7 +56,7 @@ namespace Klient.Droid
var responseString = await response.Content.ReadAsStringAsync(); var responseString = await response.Content.ReadAsStringAsync();
} }
[Java.Interop.Export("Reset")] [Java.Interop.Export("ResetPassword")]
async public void ResetPassword() async public void ResetPassword()
{ {

View File

@ -42,7 +42,7 @@
android:layout_below="@id/Password" android:layout_below="@id/Password"
android:layout_alignParentRight="false" android:layout_alignParentRight="false"
android:gravity="center" android:gravity="center"
android:onClick="LogIn" android:onClick="SignIn"
android:text="Zaloguj" android:text="Zaloguj"
android:layout_centerHorizontal="true" android:layout_centerHorizontal="true"
android:foregroundGravity="center" /> android:foregroundGravity="center" />

View File

@ -102,7 +102,7 @@
android:layout_alignParentRight="false" android:layout_alignParentRight="false"
android:foregroundGravity="center" android:foregroundGravity="center"
android:layout_centerHorizontal="true" android:layout_centerHorizontal="true"
android:onClick="Register" /> android:onClick="SignUp" />
<TextView <TextView
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
android:layout_width="wrap_content" android:layout_width="wrap_content"