fixes last commit

This commit is contained in:
Paul Schneider 2017-01-26 13:00:31 +01:00
commit 05e5970bef
197 changed files with 2203 additions and 2204 deletions

View file

@ -1,6 +1,6 @@
using System;
namespace BookAStar
namespace ZicMoove
{
public class NotIdentifiedException : Exception
{

View file

@ -5,7 +5,7 @@ using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace BookAStar.Helpers
namespace ZicMoove.Helpers
{
public static class PageHelpers
{

View file

@ -5,7 +5,7 @@ using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace BookAStar.Helpers
namespace ZicMoove.Helpers
{
public static class PropertySupport
{

View file

@ -1,6 +1,6 @@
using System;
namespace BookAStar
namespace ZicMoove
{
public class ServiceNotAvailable : Exception
{

View file

@ -1,7 +1,7 @@
// Helpers/Settings.cs
#if USELESS_but_makes_the_component_removable // this file must exist ^^
namespace BookAStar.Helpers
namespace ZicMoove.Helpers
{
/// <summary>
/// This is the Settings static class that can be used in your Core solution or in any

View file

@ -6,7 +6,7 @@ using System.Net.Http;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace BookAStar.Helpers
namespace ZicMoove.Helpers
{
using Data.NonCrUD;
using Model.FileSystem;
@ -16,7 +16,7 @@ namespace BookAStar.Helpers
public static ImageSource Avatar(string avatarPath)
{
var result = avatarPath == null ?
ImageSource.FromResource( "BookAStar.Images.Users.icon_user.png") :
ImageSource.FromResource( "ZicMoove.Images.Users.icon_user.png") :
ImageSource.FromUri(new Uri(Constants.YavscHomeUrl+"/Avatars/"+avatarPath)) ;
return result;
}
@ -24,14 +24,14 @@ namespace BookAStar.Helpers
public static ImageSource SmallAvatar(string avatarPath, string username)
{
return avatarPath == null ?
ImageSource.FromResource("BookAStar.Images.Users.icon_user.png") :
ImageSource.FromResource("ZicMoove.Images.Users.icon_user.png") :
ImageSource.FromUri(new Uri($"{Constants.YavscHomeUrl}/Avatars/{username}.s.png"));
}
public static ImageSource ExtraSmallAvatar(string avatarPath, string username)
{
return avatarPath == null ?
ImageSource.FromResource("BookAStar.Images.Users.icon_user.png") :
ImageSource.FromResource("ZicMoove.Images.Users.icon_user.png") :
ImageSource.FromUri(new Uri($"{Constants.YavscHomeUrl}/Avatars/{username}.xs.png"));
}