cleaning
This commit is contained in:
@ -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>
|
||||
|
@ -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;
|
||||
} }
|
||||
}
|
||||
}
|
||||
|
@ -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>
|
@ -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: () => { }));*/
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user