adjustment

This commit is contained in:
2021-08-12 17:29:57 +08:00
parent fa0b033f2a
commit 04ef63ccc3
11 changed files with 116 additions and 26 deletions

View File

@ -115,7 +115,7 @@ namespace Gallery.Views
}
}
}
var image = await Store.LoadRawImage(item, force: force, o =>
var image = await Store.LoadRawImage(item, true, force: force, o =>
{
var val = o.loc / (double)o.size;
if (val > progress.Progress)

View File

@ -6,8 +6,7 @@
x:Class="Gallery.Views.GalleryPage"
x:Name="yanderePage"
BackgroundColor="{DynamicResource WindowColor}"
BindingContext="{x:Reference yanderePage}"
Title="{Binding Source.Name}">
BindingContext="{x:Reference yanderePage}">
<ContentPage.ToolbarItems>
<ToolbarItem Order="Primary" Command="{Binding ToolbarCommand}"

View File

@ -1,5 +1,6 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using Gallery.Resources;
using Gallery.Resources.UI;
using Gallery.Util;
using Gallery.Util.Interface;
@ -21,6 +22,7 @@ namespace Gallery.Views
public GalleryPage(IGallerySource source) : base(source)
{
Title = Helper.GetResource(source.Name);
Resources.Add("cardView", GetCardViewTemplate());
SetValue(ToolbarCommandProperty, new Command(DoRefresh, () => !IsLoading && !IsBottomLoading));
InitializeComponent();