Skip to content

Commit

Permalink
v1.5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Guerra24 committed Jul 25, 2020
1 parent 7a3ea53 commit 0364da7
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions LRReader.Shared/Internal/UpdatesManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ namespace LRReader.Shared.Internal
{
public class UpdatesManager
{
public static Version MIN_VERSION = new Version(0, 7, 0);
public static Version MAX_VERSION = new Version(0, 7, 0);
private static bool UpdatedRange = false;
public static Version MIN_VERSION = new Version(0, 7, 1);
public static Version MAX_VERSION = new Version(0, 7, 1);

private GitHubClient githubClient;
private RestClient client;
Expand Down Expand Up @@ -52,11 +51,11 @@ public async Task<ReleaseInfo> CheckUpdates(Version current)
return null;
}

#pragma warning disable CS1998 // Async method lacks 'await' operators and will run synchronously
public async Task UpdateSupportedRange(Version current)
#pragma warning restore CS1998 // Async method lacks 'await' operators and will run synchronously
{
if (UpdatedRange)
return;
UpdatedRange = true;
#if !DEBUG
var rq = new RestRequest("projects/lrr/supported/{version}.json");
rq.AddParameter("version", current.ToString(), ParameterType.UrlSegment);

Expand All @@ -74,6 +73,7 @@ public async Task UpdateSupportedRange(Version current)
MIN_VERSION = range.minSupported;
MAX_VERSION = range.maxSupported;
}
#endif
}
}

Expand Down
2 changes: 1 addition & 1 deletion LRReader.UWP/Package.appxmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<Identity
Name="Guerra24.LRReader"
Publisher="CN=Guerra24, O=Guerra24, C=GT"
Version="1.4.1.0" />
Version="1.5.0.0" />

<mp:PhoneIdentity PhoneProductId="97639259-a9d5-4784-8ec1-a88609560ca7" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>

Expand Down
4 changes: 2 additions & 2 deletions LRReader.UWP/ViewModels/CategoriesViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ public async Task Refresh()
RefreshOnErrorButton = false;
LoadingCategories = true;
CategoriesList.Clear();
if (SharedGlobal.SettingsManager.Profile.HasApiKey)
CategoriesList.Add(new AddNewCategory());
//if (SharedGlobal.SettingsManager.Profile.HasApiKey)
// CategoriesList.Add(new AddNewCategory());
var result = await CategoriesProvider.GetCategories();
if (result != null)
{
Expand Down
4 changes: 2 additions & 2 deletions LRReader.UWP/Views/Items/CategoryItem.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
<UserControl.ContextFlyout>
<MenuFlyout>
<MenuFlyoutItem Click="Add_Click" Icon="Add" Text="Open in new tab" />
<MenuFlyoutItem
<!--<MenuFlyoutItem
Click="Edit_Click" Icon="Edit" Text="Edit"
Visibility="{x:Bind ViewModel.CanEdit}" />
<MenuFlyoutItem
Click="Remove_Click" Icon="Delete" Text="Delete"
Visibility="{x:Bind ViewModel.CanEdit}" />
Visibility="{x:Bind ViewModel.CanEdit}" />-->
</MenuFlyout>
</UserControl.ContextFlyout>

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
## Requirements

- Windows 10 1803 (x86, x64 or ARM64)
- LANraragi v0.7.0
- LANraragi v0.7.1

## Installing

Expand Down

0 comments on commit 0364da7

Please sign in to comment.