Skip to content

Commit

Permalink
Update FishyFlip again, fix bugs on RS2
Browse files Browse the repository at this point in the history
  • Loading branch information
WamWooWam committed Nov 22, 2024
1 parent cbedf78 commit b85c749
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion UniSky.Models/UniSky.Models.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FishyFlipDX" Version="2.2.0-alpha.50" />
<PackageReference Include="FishyFlip" Version="3.1.0-alpha.0" />
<PackageReference Include="System.Text.Json" Version="8.0.5" />
</ItemGroup>

Expand Down
6 changes: 5 additions & 1 deletion UniSky/DataTemplates/FeedTemplates.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,11 @@
<Button.Flyout>
<MenuFlyout w1809:Placement="BottomEdgeAlignedRight"
not1809:Placement="Bottom">
<MenuFlyoutItem Text="Share" Icon="Share" Command="{Binding ShareCommand}"/>
<MenuFlyoutItem Text="Share" Command="{Binding ShareCommand}">
<MenuFlyoutItem.Icon>
<FontIcon Glyph="&#xE72D;" FontFamily="{StaticResource SymbolThemeFontFamily}"/>
</MenuFlyoutItem.Icon>
</MenuFlyoutItem>
<MenuFlyoutItem Text="Copy Text" Icon="Copy" Command="{Binding CopyTextCommand}"/>
<MenuFlyoutItem Text="Copy Link" Icon="Link" Command="{Binding CopyLinkCommand}"/>
<MenuFlyoutSeparator/>
Expand Down
4 changes: 2 additions & 2 deletions UniSky/Package.appxmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<Identity
Name="24101WamWooWamRD.25225E497690B"
Publisher="CN=0F22111D-EDF0-42F0-B58D-26C4C5C5054B"
Version="1.0.86.0" />
Version="1.0.88.0" />

<mp:PhoneIdentity PhoneProductId="d3ae258d-7752-4bdb-bb0c-b6cca57f9cd1" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>

Expand All @@ -21,7 +21,7 @@
</Properties>

<Dependencies>
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.15035.0" MaxVersionTested="10.0.22000.0" />
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.15063.0" MaxVersionTested="10.0.22000.0" />
</Dependencies>

<Resources>
Expand Down
10 changes: 5 additions & 5 deletions UniSky/UniSky.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -391,17 +391,17 @@
<PackageReference Include="CommunityToolkit.Mvvm">
<Version>8.3.2</Version>
</PackageReference>
<PackageReference Include="FishyFlipDX">
<Version>2.2.0-alpha.64</Version>
<PackageReference Include="FishyFlip">
<Version>3.1.0-alpha.0</Version>
</PackageReference>
<PackageReference Include="Humanizer.Core">
<Version>2.14.1</Version>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Logging">
<Version>8.0.1</Version>
<Version>9.0.0</Version>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Logging.Debug">
<Version>8.0.1</Version>
<Version>9.0.0</Version>
</PackageReference>
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
<Version>6.2.14</Version>
Expand All @@ -416,7 +416,7 @@
<Version>6.1.1</Version>
</PackageReference>
<PackageReference Include="Microsoft.UI.Xaml">
<Version>2.7.4-prerelease.221117002</Version>
<Version>2.7.3</Version>
</PackageReference>
<PackageReference Include="Microsoft.Xaml.Behaviors.Uwp.Managed">
<Version>2.0.1</Version>
Expand Down
2 changes: 1 addition & 1 deletion UniSky/ViewModels/Post/PostViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ private async Task Like()
IsLiked = false;
LikeCount--;

_ = (await protocol.Feed.DeleteLikeAsync(protocol.AuthSession.Session?.Did, like.Rkey).ConfigureAwait(false))
_ = (await protocol.Feed.DeleteLikeAsync(like.Rkey).ConfigureAwait(false))
.HandleResult();
}
else
Expand Down

0 comments on commit b85c749

Please sign in to comment.