chore: Bridge Perth Narrows 3.0.16/17

This commit is contained in:
Jakub
2023-02-16 17:18:24 +01:00
parent f6727a56d2
commit 2faeebe9e7
3 changed files with 9 additions and 4 deletions

View File

@ -96,11 +96,11 @@ func (s *Service) GuiReady(ctx context.Context, _ *emptypb.Empty) (*GuiReadyResp
s.initializationDone.Do(s.initializing.Done)
// Splash screen should be displayed only to users who start v3.0.16 or later for the first time after upgrading from v2.
// Splash screen should be displayed only to users who start v3.0.17 or later for the first time after upgrading from v2.
return &GuiReadyResponse{
ShowSplashScreen: (!s.bridge.GetFirstStart()) &&
s.bridge.GetLastVersion().LessThan(semver.MustParse("3.0.0")) &&
s.bridge.GetCurrentVersion().GreaterThan(semver.MustParse("3.0.15")),
s.bridge.GetCurrentVersion().GreaterThan(semver.MustParse("3.0.16")),
}, nil
}