-
-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Min/max version for the tagline #5917
base: develop
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #5917 +/- ##
==========================================
- Coverage 9.54% 6.59% -2.95%
==========================================
Files 325 436 +111
Lines 16411 24563 +8152
==========================================
+ Hits 1567 1621 +54
- Misses 14844 22942 +8098 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
@@ -316,7 +316,7 @@ class UserPreferencesDevMode extends AbstractUserPreferences { | |||
return Consumer<AppNewsProvider>( | |||
builder: (_, AppNewsProvider provider, __) { | |||
return Text(switch (provider.state) { | |||
AppNewsStateLoading() => 'Loading...', | |||
AppNewsStateLoading() => 'Loading…', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we extract this ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's in the Dev mode, but yes, I can translate it
Hi everyone!
The JSON can now provide a
min_version
and/or amax_version
for each news item.Some examples:
max_version
: a message to notify there's an update availablemin_version
only ormin_version=max_version
: changelog of new featuresBy version, it's not the version code, but the version name (e.g.:
1.2.3
)In this PR, there's also a fix, where sometimes the Tagline is not visible (mainly at launch) and the DEV Mode status is not refreshing.