diff --git a/MCTG/Views/Home.xaml b/MCTG/Views/Home.xaml
index c3c8ffd..aa48635 100644
--- a/MCTG/Views/Home.xaml
+++ b/MCTG/Views/Home.xaml
@@ -41,41 +41,15 @@
AlignItems="Center"
AlignContent="SpaceEvenly">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/MCTG/Views/RecipeCase.xaml b/MCTG/Views/RecipeCase.xaml
index 890a567..6777185 100644
--- a/MCTG/Views/RecipeCase.xaml
+++ b/MCTG/Views/RecipeCase.xaml
@@ -8,9 +8,9 @@
-
+ Source="{Binding CaseImageSource, Source={x:Reference rCase}}"/>
diff --git a/MCTG/Views/RecipeCase.xaml.cs b/MCTG/Views/RecipeCase.xaml.cs
index d87eb13..30d6656 100644
--- a/MCTG/Views/RecipeCase.xaml.cs
+++ b/MCTG/Views/RecipeCase.xaml.cs
@@ -7,12 +7,12 @@ public partial class RecipeCase : ContentView
InitializeComponent();
}
- public static readonly BindableProperty CaseContentProperty =
- BindableProperty.Create("CaseContent", typeof(View), typeof(RecipeCase), new Grid());
+ public static readonly BindableProperty CaseImageSourceProperty =
+ BindableProperty.Create("CaseImageSource", typeof(ImageSource), typeof(Image));
- public View CaseContent
+ public ImageSource CaseImageSource
{
- get => (View)GetValue(CaseContentProperty);
- set => SetValue(CaseContentProperty, value);
+ get => (ImageSource)GetValue(CaseImageSourceProperty);
+ set => SetValue(CaseImageSourceProperty, value);
}
}