fix button style
This commit is contained in:
@@ -222,8 +222,23 @@ class _AdvancedOptionsPageState extends State<AdvancedOptionsPage> {
|
|||||||
),
|
),
|
||||||
Spacer(),
|
Spacer(),
|
||||||
RaisedButton(
|
RaisedButton(
|
||||||
|
color: Theme.of(context).brightness == Brightness.light
|
||||||
|
? StreamChatTheme.of(context).colorTheme.accentBlue
|
||||||
|
: Colors.white,
|
||||||
elevation: 0,
|
elevation: 0,
|
||||||
child: Text('Login', style: TextStyle(fontSize: 16)),
|
padding: const EdgeInsets.symmetric(vertical: 16),
|
||||||
|
shape: RoundedRectangleBorder(
|
||||||
|
borderRadius: BorderRadius.circular(26),
|
||||||
|
),
|
||||||
|
child: Text(
|
||||||
|
'Login',
|
||||||
|
style: TextStyle(
|
||||||
|
fontSize: 16,
|
||||||
|
color: Theme.of(context).brightness != Brightness.light
|
||||||
|
? StreamChatTheme.of(context).colorTheme.accentBlue
|
||||||
|
: Colors.white,
|
||||||
|
),
|
||||||
|
),
|
||||||
onPressed: () async {
|
onPressed: () async {
|
||||||
if (loading) {
|
if (loading) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user