Consider all news "major" (#3493)

This has the effect that `task news` will unconditionally update the
config with the new version once news has been shown (assuming the user
does not kill the process first).
This commit is contained in:
Dustin J. Mitchell
2024-06-24 08:14:33 -04:00
committed by GitHub
parent e7ad31c1c2
commit e3181aa8d4
2 changed files with 5 additions and 59 deletions

View File

@@ -36,7 +36,6 @@
class NewsItem {
public:
Version _version;
bool _major = false;
std::string _title;
std::string _bg_title;
std::string _background;
@@ -54,7 +53,6 @@ public:
private:
NewsItem (
Version,
bool,
const std::string&,
const std::string& = "",
const std::string& = "",