Skip to content

Commit

Permalink
Fixed a setting
Browse files Browse the repository at this point in the history
  • Loading branch information
FrayxRulez committed Jul 25, 2017
1 parent f74816d commit 9b2e1cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Unigram/Unigram/ViewModelLocator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,12 @@ private void InitializeLayer()
if (SettingsHelper.SupportedLayer < 69 || !SettingsHelper.IsAuthorized)
{
DeleteIfExists("database.sqlite");
SettingsHelper.SupportedLayer = 69;
ApplicationSettings.Current.AddOrUpdateValue("lastGifLoadTime", 0L);
ApplicationSettings.Current.AddOrUpdateValue("lastStickersLoadTime", 0L);
}

SettingsHelper.SupportedLayer = Telegram.Api.Constants.SupportedLayer;

//if (SettingsHelper.SupportedLayer != Constants.SupportedLayer ||
// SettingsHelper.DatabaseVersion != Constants.DatabaseVersion)
{
Expand Down

0 comments on commit 9b2e1cd

Please sign in to comment.