mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-18 02:42:34 +01:00
fix: Formatting and style
This commit is contained in:
parent
4f13473593
commit
2540a6c926
@ -99,7 +99,6 @@ abstract class FluffyThemes {
|
|||||||
appBarTheme: AppBarTheme(
|
appBarTheme: AppBarTheme(
|
||||||
brightness: Brightness.light,
|
brightness: Brightness.light,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
systemOverlayStyle: SystemUiOverlayStyle.dark,
|
|
||||||
textTheme: TextTheme(
|
textTheme: TextTheme(
|
||||||
headline6: TextStyle(
|
headline6: TextStyle(
|
||||||
color: Colors.black,
|
color: Colors.black,
|
||||||
@ -178,7 +177,6 @@ abstract class FluffyThemes {
|
|||||||
appBarTheme: AppBarTheme(
|
appBarTheme: AppBarTheme(
|
||||||
brightness: Brightness.dark,
|
brightness: Brightness.dark,
|
||||||
color: Color(0xff1D1D1D),
|
color: Color(0xff1D1D1D),
|
||||||
systemOverlayStyle: SystemUiOverlayStyle.light,
|
|
||||||
textTheme: TextTheme(
|
textTheme: TextTheme(
|
||||||
headline6: TextStyle(
|
headline6: TextStyle(
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
|
@ -80,9 +80,14 @@ class FluffyChatApp extends StatelessWidget {
|
|||||||
builder: (context) {
|
builder: (context) {
|
||||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||||
SystemChrome.setSystemUIOverlayStyle(
|
SystemChrome.setSystemUIOverlayStyle(
|
||||||
Theme.of(context).brightness == Brightness.light
|
SystemUiOverlayStyle(
|
||||||
? SystemUiOverlayStyle.light
|
statusBarColor: Colors.transparent,
|
||||||
: SystemUiOverlayStyle.dark,
|
systemNavigationBarColor: Theme.of(context).backgroundColor,
|
||||||
|
systemNavigationBarIconBrightness:
|
||||||
|
Theme.of(context).brightness == Brightness.light
|
||||||
|
? Brightness.dark
|
||||||
|
: Brightness.light,
|
||||||
|
),
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
return Matrix(
|
return Matrix(
|
||||||
|
@ -12,8 +12,7 @@ class Settings3PidUI extends StatelessWidget {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
controller.request ??=
|
controller.request ??= Matrix.of(context).client.getAccount3PIDs();
|
||||||
Matrix.of(context).client.getAccount3PIDs();
|
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
leading: BackButton(),
|
leading: BackButton(),
|
||||||
|
Loading…
Reference in New Issue
Block a user