From 7155b37867a6267e0dce82108cb753e343714468 Mon Sep 17 00:00:00 2001 From: Kenneth van Ewijk Date: Wed, 20 Jan 2016 22:17:03 +0100 Subject: [PATCH] New idiot bugfixes --- YJMPD-UWP/Model/ApiHandler.cs | 2 +- YJMPD-UWP/Model/GameHandler.cs | 1 + YJMPD-UWP/ViewModels/MatchVM.cs | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/YJMPD-UWP/Model/ApiHandler.cs b/YJMPD-UWP/Model/ApiHandler.cs index f79b235..49e7579 100644 --- a/YJMPD-UWP/Model/ApiHandler.cs +++ b/YJMPD-UWP/Model/ApiHandler.cs @@ -151,7 +151,7 @@ namespace YJMPD_UWP.Model JObject obj = JObject.FromObject(new { command = Command.PictureUrl.ToString(), - pictureurl = url, + PictureUrl = url, lon = App.Geo.Position.Coordinate.Point.Position.Longitude, lat = App.Geo.Position.Coordinate.Point.Position.Latitude }); diff --git a/YJMPD-UWP/Model/GameHandler.cs b/YJMPD-UWP/Model/GameHandler.cs index 5c2c73e..73df991 100644 --- a/YJMPD-UWP/Model/GameHandler.cs +++ b/YJMPD-UWP/Model/GameHandler.cs @@ -72,6 +72,7 @@ namespace YJMPD_UWP.Model { Players = new List(); Status = GameStatus.STOPPED; + Selected = false; App.Photo.OnStatusUpdate += Photo_OnStatusUpdate; GeofenceMonitor.Current.GeofenceStateChanged += Current_GeofenceStateChanged; } diff --git a/YJMPD-UWP/ViewModels/MatchVM.cs b/YJMPD-UWP/ViewModels/MatchVM.cs index 71a02de..a4e0fca 100644 --- a/YJMPD-UWP/ViewModels/MatchVM.cs +++ b/YJMPD-UWP/ViewModels/MatchVM.cs @@ -7,7 +7,8 @@ namespace YJMPD_UWP.ViewModels { public MatchVM() : base("Match") { - + Error = ""; + Message = ""; App.Game.OnDestinationEnter += Game_OnDestinationEnter; App.Game.OnDestinationLeave += Game_OnDestinationLeave; }