Skip to content

Commit 50fc0af

Browse files
committed
Better living through better naming.
1 parent bc32677 commit 50fc0af

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ShoppingCart/ShoppingCart/AppSetup.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ protected virtual void RegisterDepenencies(ContainerBuilder cb)
3030
cb.RegisterType<ProductLoader>().As<IProductLoader>().SingleInstance();
3131
cb.RegisterType<ProductService>().As<IProductService>().SingleInstance();
3232
cb.RegisterType<NavigationService>().As<INavigationService>().SingleInstance();
33-
cb.RegisterType<NullThemer>().As<IThemer>().SingleInstance();
33+
cb.RegisterType<DefaultThemer>().As<IThemer>().SingleInstance();
3434

3535
// View Models
3636
cb.RegisterType<CategoriesListViewModel>().SingleInstance();

ShoppingCart/ShoppingCart/Services/IThemer.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ public interface IThemer
77
Color AccentColor { get; }
88
}
99

10-
public class NullThemer : IThemer
10+
public class DefaultThemer : IThemer
1111
{
12-
public NullThemer()
12+
public DefaultThemer()
1313
{
1414
AccentColor = Xamarin.Forms.Color.Accent;
1515
}

0 commit comments

Comments
 (0)