Skip to content

Commit d2e0a91

Browse files
committed
Frontend.XF(.Gtk): replace Gtk workaround with DNF upgrade
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
1 parent 9d16414 commit d2e0a91

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

src/GWallet.Frontend.XF.Gtk/GWallet.Frontend.XF.Gtk.fsproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@
9292
<HintPath>..\..\packages\OpenTK.3.0.1\lib\net20\OpenTK.dll</HintPath>
9393
</Reference>
9494
<Reference Include="webkit-sharp">
95-
<HintPath>..\..\packages\DotNetForms.Platform.GTK.5.0.0.2013--date20220209-1027.git-9383666\lib\net45\webkit-sharp.dll</HintPath>
95+
<HintPath>..\..\packages\DotNetForms.Platform.GTK.5.0.0.2015--date20220220-0903.git-82e0879\lib\net45\webkit-sharp.dll</HintPath>
9696
</Reference>
9797
<Reference Include="Xamarin.Forms.Platform.GTK">
98-
<HintPath>..\..\packages\DotNetForms.Platform.GTK.5.0.0.2013--date20220209-1027.git-9383666\lib\net45\Xamarin.Forms.Platform.GTK.dll</HintPath>
98+
<HintPath>..\..\packages\DotNetForms.Platform.GTK.5.0.0.2015--date20220220-0903.git-82e0879\lib\net45\Xamarin.Forms.Platform.GTK.dll</HintPath>
9999
</Reference>
100100
<Reference Include="System.Buffers">
101101
<HintPath>..\..\packages\System.Buffers.4.5.0\lib\netstandard2.0\System.Buffers.dll</HintPath>

src/GWallet.Frontend.XF.Gtk/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<package id="System.Threading.Tasks.Extensions" version="4.5.1" targetFramework="net461" />
4444
<package id="System.ValueTuple" version="4.5.0" targetFramework="net461" />
4545
<package id="Xamarin.Forms" version="5.0.0.2012" targetFramework="net471" />
46-
<package id="DotNetForms.Platform.GTK" version="5.0.0.2013--date20220209-1027.git-9383666" targetFramework="net471" />
46+
<package id="DotNetForms.Platform.GTK" version="5.0.0.2015--date20220220-0903.git-82e0879" targetFramework="net471" />
4747
<package id="ZXing.Net.Xamarin" version="0.10.0-date20191006-0346.git-18fb927" targetFramework="net461" />
4848
<package id="ZXing.Net.Xamarin.Forms" version="0.10.0-date20191006-0346.git-18fb927" targetFramework="net461" />
4949
</packages>

src/GWallet.Frontend.XF/BalancesPage.xaml.fs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -499,13 +499,6 @@ type BalancesPage(state: FrontendHelpers.IGlobalAppState,
499499
|> ignore
500500
this.BalanceRefreshCancelSources <- Seq.empty
501501

502-
override __.OnAppearing() =
503-
// workaround for disappearing balance chart when coming back from SendPage. TODO: file bug
504-
if Device.RuntimePlatform = Device.GTK then
505-
normalChartView.Draw()
506-
readonlyChartView.Draw()
507-
base.OnAppearing()
508-
509502
member private this.Init () =
510503
normalChartView.DefaultImageSource <- FrontendHelpers.GetSizedImageSource "logo" 512
511504
readonlyChartView.DefaultImageSource <- FrontendHelpers.GetSizedImageSource "logo" 512

0 commit comments

Comments
 (0)