design: Add snackbar with link to changelog on new version

This commit is contained in:
Krille 2024-07-31 15:23:25 +02:00
commit e5bbb755d9
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
6 changed files with 69 additions and 6 deletions

View file

@ -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',

View file

@ -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,