Merge pull request #203 from GetStream/fix/mentions-screen

fix: Fixed mention screen styling
This commit is contained in:
Salvatore Giordano
2021-01-08 12:14:31 +01:00
committed by GitHub
+14 -3
View File
@@ -74,7 +74,7 @@ class MyApp extends StatelessWidget {
debugShowCheckedModeBanner: false, debugShowCheckedModeBanner: false,
theme: ThemeData.light(), theme: ThemeData.light(),
darkTheme: ThemeData.dark(), darkTheme: ThemeData.dark(),
themeMode: ThemeMode.dark, themeMode: ThemeMode.system,
onGenerateRoute: AppRoutes.generateRoute, onGenerateRoute: AppRoutes.generateRoute,
initialRoute: initialRoute:
client.state.user == null ? Routes.CHOOSE_USER : Routes.HOME, client.state.user == null ? Routes.CHOOSE_USER : Routes.HOME,
@@ -323,10 +323,21 @@ class UserMentionPage extends StatelessWidget {
padding: const EdgeInsets.all(24), padding: const EdgeInsets.all(24),
child: StreamSvgIcon.mentions( child: StreamSvgIcon.mentions(
size: 96, size: 96,
color: Colors.grey, color: StreamChatTheme.of(context)
.colorTheme
.greyGainsboro,
), ),
), ),
Text('No mentions exist yet...'), Text(
'No mentions exist yet...',
style: StreamChatTheme.of(context)
.textTheme
.body
.copyWith(
color:
StreamChatTheme.of(context).colorTheme.grey,
),
),
], ],
), ),
), ),