design: Add snackbar with link to changelog on new version
This commit is contained in:
parent
21e7c3f8cb
commit
e5bbb755d9
6 changed files with 69 additions and 6 deletions
|
|
@ -35,6 +35,8 @@ abstract class AppConfig {
|
|||
'https://github.com/krille-chan/fluffychat';
|
||||
static const String supportUrl =
|
||||
'https://github.com/krille-chan/fluffychat/issues';
|
||||
static const String changelogUrl =
|
||||
'https://github.com/krille-chan/fluffychat/blob/main/CHANGELOG.md';
|
||||
static final Uri newIssueUrl = Uri(
|
||||
scheme: 'https',
|
||||
host: 'github.com',
|
||||
|
|
|
|||
|
|
@ -77,9 +77,6 @@ abstract class FluffyThemes {
|
|||
? Typography.material2018().black.merge(fallbackTextTheme)
|
||||
: Typography.material2018().white.merge(fallbackTextTheme)
|
||||
: null,
|
||||
snackBarTheme: const SnackBarThemeData(
|
||||
behavior: SnackBarBehavior.floating,
|
||||
),
|
||||
dividerColor: brightness == Brightness.light
|
||||
? Colors.blueGrey.shade50
|
||||
: Colors.blueGrey.shade900,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue