Skip to content

Commit

Permalink
Merge #5, revert van de dingen die niet goed waren
Browse files Browse the repository at this point in the history
  • Loading branch information
Netfloex committed Sep 18, 2021
1 parent f36f13a commit 335fd20
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions lib/src/layout.dart
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class HomeState extends State<Home> with AfterLayoutMixin<Home> {
onPressed: () => Navigator.pop(context),
),
TextButton(
child: Text("Verwijderen"),
child: Text("Verwijder"),
onPressed: () {
Navigator.pop(context);
accounts.delete(accounts.toMap().entries.firstWhere((a) => a.value.id == acc.id).key);
Expand All @@ -116,11 +116,11 @@ class HomeState extends State<Home> with AfterLayoutMixin<Home> {
itemBuilder: (BuildContext context) => <PopupMenuEntry>[
const PopupMenuItem(
value: "verwijder",
child: Text('Verwijderen'),
child: Text('Verwijder'),
),
const PopupMenuItem(
value: "herlaad",
child: Text('Herladen'),
child: Text('Herlaad'),
),
],
),
Expand Down
2 changes: 1 addition & 1 deletion lib/src/ui/tabs/Berichten.dart
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ class NieuwBerichtPagina extends StatelessWidget {
return Scaffold(
appBar: AppBar(
title: Text(
"Bericht opstellen",
"Nieuw bericht",
),
),
body: SingleChildScrollView(
Expand Down
6 changes: 3 additions & 3 deletions lib/src/ui/tabs/Info.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ class _Info extends State<Info> {
bottom: TabBar(
tabs: [
Tab(
text: "Info",
text: "Over",
),
Tab(
text: "Auteurs",
),
],
),
title: Text("Over deze app"),
title: Text("Info"),
body: TabBarView(
children: [
ListView(
Expand Down Expand Up @@ -96,7 +96,7 @@ class _Info extends State<Info> {
ExpansionTile(
leading: Icon(Icons.person_outlined),
title: Text('Guus van Meerveld'),
subtitle: Text('Bijdrage: Interface'),
subtitle: Text('Bijdrage: UI'),
children: [
ListTile(
leading: Icon(Icons.public_outlined),
Expand Down
8 changes: 4 additions & 4 deletions lib/src/ui/tabs/Instellingen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ class _Instellingen extends State<Instellingen> {
actions: <Widget>[
TextButton(
child: Text(
"Sluiten",
"Sluit",
),
onPressed: () {
Navigator.of(context).pop();
Expand Down Expand Up @@ -489,7 +489,7 @@ class _Instellingen extends State<Instellingen> {
children: divideListTiles([
SwitchInstelling(
title: "Verberg foto",
subtitle: "Vervangt je foto voor pictogram",
subtitle: "Vervangt je foto voor een pictogram",
setting: "useIcon",
onChange: () => appState.setState(() {}),
),
Expand Down Expand Up @@ -612,15 +612,15 @@ class _Instellingen extends State<Instellingen> {
},
),
CustomInstelling(
title: 'Foutenlogboek',
title: 'Error log',
onTap: () {
Navigator.of(context).push(
MaterialPageRoute(
builder: (context) => LogPagina(),
),
);
},
subtitle: 'Bekijk het foutenlogboek van de app',
subtitle: 'Bekijk de error log van de app',
)
]),
);
Expand Down
2 changes: 1 addition & 1 deletion lib/src/utils/tabs.dart
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class Tabs {
},
if (account.has("Profiel", "Read"))
{
"name": Text("Mijn gegevens"),
"name": Text("Mijn Gegevens"),
"icon": Icons.person_outlined,
"page": MijnGegevens(),
"color": Colors.pink[200],
Expand Down

0 comments on commit 335fd20

Please sign in to comment.