Remove `cancel` buttons, cuz they're wack

This commit is contained in:
krawieck 2020-09-23 23:21:41 +02:00
parent 7be73a48ce
commit 6cfdc14c4c
2 changed files with 0 additions and 40 deletions

View File

@ -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(

View File

@ -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)