fix: Fixed mention screen styling

This commit is contained in:
Deven Joshi
2021-01-08 16:32:53 +05:30
parent 7a01dd94c0
commit 68db556c0f
+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,
),
),
], ],
), ),
), ),