File tree Expand file tree Collapse file tree
src/Mobile/eShopOnContainers/eShopOnContainers.Core/Helpers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ private static ISettings AppSettings
3232 private static readonly string IdTokenDefault = string . Empty ;
3333 private static readonly bool UseMocksDefault = true ;
3434 private static readonly bool UseFakeLocationDefault = false ;
35+ private static readonly double FakeLatitudeValue = 47.604610d ;
36+ private static readonly double FakeLongitudeValue = - 122.315752d ;
3537 private static readonly string UrlBaseDefault = GlobalSetting . Instance . BaseEndpoint ;
3638
3739 #endregion
@@ -106,7 +108,7 @@ public static double FakeLatitude
106108 {
107109 get
108110 {
109- return AppSettings . GetValueOrDefault < double > ( IdFakeLatitude ) ;
111+ return AppSettings . GetValueOrDefault < double > ( IdFakeLatitude , FakeLatitudeValue ) ;
110112 }
111113 set
112114 {
@@ -117,7 +119,7 @@ public static double FakeLongitude
117119 {
118120 get
119121 {
120- return AppSettings . GetValueOrDefault < double > ( IdFakeLongitude ) ;
122+ return AppSettings . GetValueOrDefault < double > ( IdFakeLongitude , FakeLongitudeValue ) ;
121123 }
122124 set
123125 {
You can’t perform that action at this time.
0 commit comments