feature: login support for Android
feature: display profile information
This commit is contained in:
@@ -167,7 +167,7 @@
|
||||
<BundleResource Include="Resources\fa-light-300.ttf" />
|
||||
<BundleResource Include="Resources\fa-regular-400.ttf" />
|
||||
<BundleResource Include="Resources\fa-solid-900.ttf" />
|
||||
<BundleResource Include="Resources\userprofile.jpg" />
|
||||
<BundleResource Include="Resources\download.png" />
|
||||
<BundleResource Include="Resources\no_profile.png" />
|
||||
</ItemGroup>
|
||||
</Project>
|
@@ -64,7 +64,7 @@ namespace Pixiview.iOS.Renderers
|
||||
public override async void DidFinishNavigation(WKWebView webView, WKNavigation navigation)
|
||||
{
|
||||
var url = webView.Url;
|
||||
if (url.Host == "www.pixiv.net" && url.Path == "/")
|
||||
if (url.Host == "www.pixiv.net" && (url.Path == "/" || url.Path == "/en/"))
|
||||
{
|
||||
var store = webView.Configuration.WebsiteDataStore.HttpCookieStore;
|
||||
var result = await Configs.RequestCookieContainer(store);
|
||||
|
BIN
Pixiview.iOS/Resources/no_profile.png
Normal file
BIN
Pixiview.iOS/Resources/no_profile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
Binary file not shown.
Before Width: | Height: | Size: 20 KiB |
Reference in New Issue
Block a user