From 335fd204d825790b7c986ec786e2f35dd3cfca51 Mon Sep 17 00:00:00 2001 From: Netfloex Date: Sat, 18 Sep 2021 02:15:02 +0200 Subject: [PATCH] Merge #5, revert van de dingen die niet goed waren --- lib/src/layout.dart | 6 +++--- lib/src/ui/tabs/Berichten.dart | 2 +- lib/src/ui/tabs/Info.dart | 6 +++--- lib/src/ui/tabs/Instellingen.dart | 8 ++++---- lib/src/utils/tabs.dart | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/src/layout.dart b/lib/src/layout.dart index 578578e..3119acc 100644 --- a/lib/src/layout.dart +++ b/lib/src/layout.dart @@ -89,7 +89,7 @@ class HomeState extends State with AfterLayoutMixin { 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); @@ -116,11 +116,11 @@ class HomeState extends State with AfterLayoutMixin { itemBuilder: (BuildContext context) => [ const PopupMenuItem( value: "verwijder", - child: Text('Verwijderen'), + child: Text('Verwijder'), ), const PopupMenuItem( value: "herlaad", - child: Text('Herladen'), + child: Text('Herlaad'), ), ], ), diff --git a/lib/src/ui/tabs/Berichten.dart b/lib/src/ui/tabs/Berichten.dart index 0dc549a..ec9a8ab 100644 --- a/lib/src/ui/tabs/Berichten.dart +++ b/lib/src/ui/tabs/Berichten.dart @@ -397,7 +397,7 @@ class NieuwBerichtPagina extends StatelessWidget { return Scaffold( appBar: AppBar( title: Text( - "Bericht opstellen", + "Nieuw bericht", ), ), body: SingleChildScrollView( diff --git a/lib/src/ui/tabs/Info.dart b/lib/src/ui/tabs/Info.dart index d62d582..8bacc83 100644 --- a/lib/src/ui/tabs/Info.dart +++ b/lib/src/ui/tabs/Info.dart @@ -29,14 +29,14 @@ class _Info extends State { bottom: TabBar( tabs: [ Tab( - text: "Info", + text: "Over", ), Tab( text: "Auteurs", ), ], ), - title: Text("Over deze app"), + title: Text("Info"), body: TabBarView( children: [ ListView( @@ -96,7 +96,7 @@ class _Info extends State { 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), diff --git a/lib/src/ui/tabs/Instellingen.dart b/lib/src/ui/tabs/Instellingen.dart index 5e43f1f..27d16bd 100644 --- a/lib/src/ui/tabs/Instellingen.dart +++ b/lib/src/ui/tabs/Instellingen.dart @@ -264,7 +264,7 @@ class _Instellingen extends State { actions: [ TextButton( child: Text( - "Sluiten", + "Sluit", ), onPressed: () { Navigator.of(context).pop(); @@ -489,7 +489,7 @@ class _Instellingen extends State { children: divideListTiles([ SwitchInstelling( title: "Verberg foto", - subtitle: "Vervangt je foto voor pictogram", + subtitle: "Vervangt je foto voor een pictogram", setting: "useIcon", onChange: () => appState.setState(() {}), ), @@ -612,7 +612,7 @@ class _Instellingen extends State { }, ), CustomInstelling( - title: 'Foutenlogboek', + title: 'Error log', onTap: () { Navigator.of(context).push( MaterialPageRoute( @@ -620,7 +620,7 @@ class _Instellingen extends State { ), ); }, - subtitle: 'Bekijk het foutenlogboek van de app', + subtitle: 'Bekijk de error log van de app', ) ]), ); diff --git a/lib/src/utils/tabs.dart b/lib/src/utils/tabs.dart index 6a2d354..5ee7f16 100644 --- a/lib/src/utils/tabs.dart +++ b/lib/src/utils/tabs.dart @@ -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],