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