Skip to content

Commit

Permalink
Frontend.XF(.Gtk): replace Gtk workaround with DNF upgrade
Browse files Browse the repository at this point in the history
Upgrading DotNetForms to pick up a proper bugfix [1] ([2]), instead
of the workaround we added in previous version [3]).

[1] nblockchain/DotNetForms@82e0879
[2] xamarin/Xamarin.Forms#15171
[3] d00e8d8
  • Loading branch information
knocte committed Feb 20, 2022
1 parent 9d16414 commit d2e0a91
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/GWallet.Frontend.XF.Gtk/GWallet.Frontend.XF.Gtk.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@
<HintPath>..\..\packages\OpenTK.3.0.1\lib\net20\OpenTK.dll</HintPath>
</Reference>
<Reference Include="webkit-sharp">
<HintPath>..\..\packages\DotNetForms.Platform.GTK.5.0.0.2013--date20220209-1027.git-9383666\lib\net45\webkit-sharp.dll</HintPath>
<HintPath>..\..\packages\DotNetForms.Platform.GTK.5.0.0.2015--date20220220-0903.git-82e0879\lib\net45\webkit-sharp.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Forms.Platform.GTK">
<HintPath>..\..\packages\DotNetForms.Platform.GTK.5.0.0.2013--date20220209-1027.git-9383666\lib\net45\Xamarin.Forms.Platform.GTK.dll</HintPath>
<HintPath>..\..\packages\DotNetForms.Platform.GTK.5.0.0.2015--date20220220-0903.git-82e0879\lib\net45\Xamarin.Forms.Platform.GTK.dll</HintPath>
</Reference>
<Reference Include="System.Buffers">
<HintPath>..\..\packages\System.Buffers.4.5.0\lib\netstandard2.0\System.Buffers.dll</HintPath>
Expand Down
2 changes: 1 addition & 1 deletion src/GWallet.Frontend.XF.Gtk/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<package id="System.Threading.Tasks.Extensions" version="4.5.1" targetFramework="net461" />
<package id="System.ValueTuple" version="4.5.0" targetFramework="net461" />
<package id="Xamarin.Forms" version="5.0.0.2012" targetFramework="net471" />
<package id="DotNetForms.Platform.GTK" version="5.0.0.2013--date20220209-1027.git-9383666" targetFramework="net471" />
<package id="DotNetForms.Platform.GTK" version="5.0.0.2015--date20220220-0903.git-82e0879" targetFramework="net471" />
<package id="ZXing.Net.Xamarin" version="0.10.0-date20191006-0346.git-18fb927" targetFramework="net461" />
<package id="ZXing.Net.Xamarin.Forms" version="0.10.0-date20191006-0346.git-18fb927" targetFramework="net461" />
</packages>
7 changes: 0 additions & 7 deletions src/GWallet.Frontend.XF/BalancesPage.xaml.fs
Original file line number Diff line number Diff line change
Expand Up @@ -499,13 +499,6 @@ type BalancesPage(state: FrontendHelpers.IGlobalAppState,
|> ignore
this.BalanceRefreshCancelSources <- Seq.empty

override __.OnAppearing() =
// workaround for disappearing balance chart when coming back from SendPage. TODO: file bug
if Device.RuntimePlatform = Device.GTK then
normalChartView.Draw()
readonlyChartView.Draw()
base.OnAppearing()

member private this.Init () =
normalChartView.DefaultImageSource <- FrontendHelpers.GetSizedImageSource "logo" 512
readonlyChartView.DefaultImageSource <- FrontendHelpers.GetSizedImageSource "logo" 512
Expand Down

0 comments on commit d2e0a91

Please sign in to comment.