changes
This commit is contained in:
commit
70dbf3966d
@ -18,14 +18,15 @@ class MyApp extends StatelessWidget {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
|
final theme = ThemeData(
|
||||||
|
primarySwatch: Colors.teal,
|
||||||
|
primaryColor: kPrimaryColor,
|
||||||
|
);
|
||||||
return MaterialApp(
|
return MaterialApp(
|
||||||
debugShowCheckedModeBanner: false,
|
debugShowCheckedModeBanner: false,
|
||||||
title: 'SimpleX Chat',
|
title: 'SimpleX Chat',
|
||||||
theme: ThemeData(
|
theme: theme.copyWith(
|
||||||
primaryColor: kPrimaryColor,
|
colorScheme: theme.colorScheme.copyWith(secondary: kPrimaryColor),
|
||||||
colorScheme: ColorScheme.fromSwatch(
|
|
||||||
primarySwatch: Colors.teal,
|
|
||||||
).copyWith(secondary: kPrimaryColor),
|
|
||||||
),
|
),
|
||||||
builder: (context, widget) {
|
builder: (context, widget) {
|
||||||
return ScrollConfiguration(
|
return ScrollConfiguration(
|
||||||
|
Loading…
Reference in New Issue
Block a user