refactor: Theme and iOS stuff

This commit is contained in:
Christian Pauly 2021-01-24 16:38:25 +01:00
commit 66c163ce35
12 changed files with 70 additions and 468 deletions

View file

@ -256,7 +256,6 @@ class _ChatListState extends State<ChatList> {
? null
: FloatingActionButton(
child: Icon(Icons.add_outlined),
backgroundColor: Theme.of(context).primaryColor,
onPressed: () => AdaptivePageLayout.of(context)
.pushNamedAndRemoveUntilIsFirst('/newprivatechat'),
),

View file

@ -73,8 +73,6 @@ class _NewGroupState extends State<NewGroup> {
],
),
floatingActionButton: FloatingActionButton(
foregroundColor: Colors.white,
backgroundColor: Theme.of(context).primaryColor,
onPressed: () => submitAction(context),
child: Icon(Icons.arrow_forward_outlined),
),

View file

@ -212,8 +212,6 @@ class _NewPrivateChatState extends State<NewPrivateChat> {
floatingActionButton: FloatingActionButton(
onPressed: () => submitAction(context),
child: Icon(Icons.arrow_forward_outlined),
foregroundColor: Colors.white,
backgroundColor: Theme.of(context).primaryColor,
),
);
}

View file

@ -181,7 +181,6 @@ class _EmotesSettingsState extends State<EmotesSettings> {
showSave = false;
});
},
backgroundColor: Theme.of(context).primaryColor,
)
: null,
body: StreamBuilder(