Javítások
This commit is contained in:
parent
22ae2f6612
commit
d70df804fd
2 changed files with 3 additions and 3 deletions
|
@ -67,7 +67,7 @@ namespace Orarend
|
||||||
}
|
}
|
||||||
Func<Órarend, Task> órarenda = async órarend =>
|
Func<Órarend, Task> órarenda = async órarend =>
|
||||||
{
|
{
|
||||||
var doc = await load("http://deri.enaplo.net/ajax/orarend/orarendoszt.php?p=" + Uri.EscapeDataString(órarend.Osztály.Azonosító));
|
var doc = await load("https://deri.enaplo.net/ajax/orarend/orarendoszt.php?p=" + órarend.Osztály.Azonosító);
|
||||||
await Task.Run(() =>
|
await Task.Run(() =>
|
||||||
{
|
{
|
||||||
lock (Órarendek)
|
lock (Órarendek)
|
||||||
|
|
|
@ -17,7 +17,7 @@ using Android.Preferences;
|
||||||
|
|
||||||
namespace OrarendAndroidApp
|
namespace OrarendAndroidApp
|
||||||
{
|
{
|
||||||
[Activity(Label = "Órarend", MainLauncher = true, Theme = "@android:style/Theme.Holo.Light")]
|
[Activity(Label = "Órarend", MainLauncher = true, Theme = "@android:style/Theme.DeviceDefault")]
|
||||||
public class MainActivity : ActivityBase
|
public class MainActivity : ActivityBase
|
||||||
{
|
{
|
||||||
private Handler handler;
|
private Handler handler;
|
||||||
|
@ -42,7 +42,7 @@ namespace OrarendAndroidApp
|
||||||
handler = new Handler();
|
handler = new Handler();
|
||||||
string[] list = FileList();
|
string[] list = FileList();
|
||||||
if (list.Contains(DATA_FILENAME))
|
if (list.Contains(DATA_FILENAME))
|
||||||
API.Betöltés(OpenFileInput(DATA_FILENAME), e => Hiba("Hiba az adatok betöltése során!\n" + e)); //TODO: Release módban előfordul <--
|
API.Betöltés(OpenFileInput(DATA_FILENAME), e => Hiba("Hiba az adatok betöltése során!\n" + e));
|
||||||
timer = new Timer(CsengőTimer, null, new TimeSpan(0, 0, 0), new TimeSpan(0, 0, 5));
|
timer = new Timer(CsengőTimer, null, new TimeSpan(0, 0, 0), new TimeSpan(0, 0, 5));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue