Skip to content

Commit

Permalink
Update code
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmontemagno committed Sep 16, 2017
1 parent a7eea45 commit 335fa8a
Show file tree
Hide file tree
Showing 13 changed files with 9,340 additions and 9,139 deletions.
Binary file added .vs/MyWeather/v15/sqlite3/storage.ide
Binary file not shown.
1,031 changes: 1,031 additions & 0 deletions .vs/config/applicationhost.config

Large diffs are not rendered by default.

60 changes: 30 additions & 30 deletions MyWeather.Droid/Helpers/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,40 +5,40 @@
namespace MyWeather.Droid.Helpers
{
/// <summary>
/// This is the Settings static class that can be used in your Core solution or in any
/// of your client applications. All settings are laid out the same exact way with getters
/// and setters.
/// </summary>
public static class Settings
{
private static ISettings AppSettings
{
get
{
return CrossSettings.Current;
}
}
/// <summary>
/// This is the Settings static class that can be used in your Core solution or in any
/// of your client applications. All settings are laid out the same exact way with getters
/// and setters.
/// </summary>
public static class Settings
{
private static ISettings AppSettings
{
get
{
return CrossSettings.Current;
}
}
#region Setting Constants
#region Setting Constants
private const string SettingsKey = "settings_key";
private static readonly string SettingsDefault = string.Empty;
private const string SettingsKey = "settings_key";
private static readonly string SettingsDefault = string.Empty;
#endregion
#endregion
public static string GeneralSettings
{
get
{
return AppSettings.GetValueOrDefault<string>(SettingsKey, SettingsDefault);
}
set
{
AppSettings.AddOrUpdateValue<string>(SettingsKey, value);
}
}
public static string GeneralSettings
{
get
{
return AppSettings.GetValueOrDefault(SettingsKey, SettingsDefault);
}
set
{
AppSettings.AddOrUpdateValue(SettingsKey, value);
}
}
}
}
}*/
140 changes: 90 additions & 50 deletions MyWeather.Droid/MyWeather.Android.csproj

Large diffs are not rendered by default.

Loading

0 comments on commit 335fa8a

Please sign in to comment.