Remove `cancel` buttons, cuz they're wack
This commit is contained in:
parent
7be73a48ce
commit
6cfdc14c4c
|
@ -107,26 +107,6 @@ class AddAccountPage extends HookWidget {
|
|||
backgroundColor: theme.canvasColor,
|
||||
shadowColor: Colors.transparent,
|
||||
),
|
||||
bottomNavigationBar: BottomAppBar(
|
||||
color: Colors.transparent,
|
||||
elevation: 0,
|
||||
child: SafeArea(
|
||||
child: Row(
|
||||
children: [
|
||||
Padding(
|
||||
padding: const EdgeInsets.all(15),
|
||||
child: FlatButton(
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(10),
|
||||
),
|
||||
child: Text('Cancel'),
|
||||
onPressed: () => Navigator.of(context).pop(),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
body: Padding(
|
||||
padding: const EdgeInsets.all(15),
|
||||
child: ListView(
|
||||
|
|
|
@ -73,26 +73,6 @@ class AddInstancePage extends HookWidget {
|
|||
textTheme: theme.textTheme,
|
||||
title: Text('Add instance'),
|
||||
),
|
||||
bottomNavigationBar: BottomAppBar(
|
||||
color: Colors.transparent,
|
||||
elevation: 0,
|
||||
child: SafeArea(
|
||||
child: Row(
|
||||
children: [
|
||||
Padding(
|
||||
padding: const EdgeInsets.all(15),
|
||||
child: FlatButton(
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(10),
|
||||
),
|
||||
child: Text('Cancel'),
|
||||
onPressed: () => Navigator.of(context).pop(),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
body: ListView(
|
||||
children: [
|
||||
if (isSite.value == true)
|
||||
|
|
Loading…
Reference in New Issue