This commit is contained in:
2016-12-16 13:08:25 +01:00
parent ac6fec18ae
commit 28bade6043
4 changed files with 0 additions and 44 deletions

View File

@ -65,9 +65,6 @@
<Compile Include="ViewModels\Messaging\ChatUserCollection.cs" />
<Compile Include="ViewModels\Messaging\ChatUserInfo.cs" />
<Compile Include="Model\Social\Chat\Connection.cs" />
<Compile Include="Pages\Chat\PrivateChatPage.xaml.cs">
<DependentUpon>PrivateChatPage.xaml</DependentUpon>
</Compile>
<Compile Include="ViewModels\Validation\Error.cs" />
<Compile Include="ViewModels\Validation\ModelState.cs" />
<Compile Include="ViewModels\PageState.cs" />
@ -507,12 +504,6 @@
<Name>YavscLib</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Pages\Chat\PrivateChatPage.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Images\Chat\talk.png" />
</ItemGroup>

View File

@ -11,10 +11,5 @@ namespace BookAStar.Model.Social.Messaging
public string SenderId { get; set; }
public string Message { get; set; }
public bool Read { get; set; }
[JsonIgnore]
public bool FromMe { get
{
return App.ChatHubConnection?.ConnectionId == SenderId;
} }
}
}

View File

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="BookAStar.Pages.Chat.PrivateChatPage"
Style="{StaticResource PageStyle}">
<Label Text="{Binding MainText}" VerticalOptions="Center" HorizontalOptions="Center" />
</ContentPage>

View File

@ -1,23 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace BookAStar.Pages.Chat
{
public partial class PrivateChatPage : ContentPage
{
public PrivateChatPage()
{
InitializeComponent();
/*
ToolbarItems.Add(new ToolbarItem(
name: "...",
icon: null,
activated: () => { }));*/
}
}
}