mirror of
https://github.com/go-vikunja/app
synced 2024-06-13 16:09:51 +00:00
add quotes around user facing item titles
This commit is contained in:
parent
0590e4c10e
commit
1e9b7bdf94
|
@ -18,7 +18,7 @@ class _BucketLimitDialogState extends State<BucketLimitDialog> {
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
if (_controller.text.isEmpty) _controller.text = '${widget.bucket.limit}';
|
if (_controller.text.isEmpty) _controller.text = '${widget.bucket.limit}';
|
||||||
return AlertDialog(
|
return AlertDialog(
|
||||||
title: Text('Limit for ${widget.bucket.title}'),
|
title: Text('Limit for \'${widget.bucket.title}\''),
|
||||||
content: Column(
|
content: Column(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
|
|
|
@ -41,7 +41,7 @@ class SliverBucketList extends StatelessWidget {
|
||||||
);
|
);
|
||||||
|
|
||||||
ScaffoldMessenger.of(context).showSnackBar(SnackBar(
|
ScaffoldMessenger.of(context).showSnackBar(SnackBar(
|
||||||
content: Text('${task.title} was moved to ${bucket.title} successfully!'),
|
content: Text('\'${task.title}\' was moved to \'${bucket.title}\' successfully!'),
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -541,7 +541,7 @@ class _ListPageState extends State<ListPage> {
|
||||||
newBucketId: bucket.id,
|
newBucketId: bucket.id,
|
||||||
index: 0,
|
index: 0,
|
||||||
).then((_) => ScaffoldMessenger.of(context).showSnackBar(SnackBar(
|
).then((_) => ScaffoldMessenger.of(context).showSnackBar(SnackBar(
|
||||||
content: Text('${data.task.title} was moved to ${bucket.title} successfully!'),
|
content: Text('\'${data.task.title}\' was moved to \'${bucket.title}\' successfully!'),
|
||||||
)));
|
)));
|
||||||
setState(() => _bucketProps[bucket.id]!.taskDropSize = null);
|
setState(() => _bucketProps[bucket.id]!.taskDropSize = null);
|
||||||
},
|
},
|
||||||
|
@ -626,7 +626,7 @@ class _ListPageState extends State<ListPage> {
|
||||||
builder: (_) => AddDialog(
|
builder: (_) => AddDialog(
|
||||||
onAdd: (title) => _addItem(title, context, bucket),
|
onAdd: (title) => _addItem(title, context, bucket),
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
labelText: (bucket != null ? '${bucket.title}: ' : '') + 'New Task Name',
|
labelText: (bucket != null ? '\'${bucket.title}\': ' : '') + 'New Task Name',
|
||||||
hintText: 'eg. Milk',
|
hintText: 'eg. Milk',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -655,7 +655,7 @@ class _ListPageState extends State<ListPage> {
|
||||||
)
|
)
|
||||||
.then((_) {
|
.then((_) {
|
||||||
ScaffoldMessenger.of(context).showSnackBar(SnackBar(
|
ScaffoldMessenger.of(context).showSnackBar(SnackBar(
|
||||||
content: Text('The task was added successfully' + (bucket != null ? ' to ${bucket.title}' : '') + '!'),
|
content: Text('The task was added successfully' + (bucket != null ? ' to \'${bucket.title}\'' : '') + '!'),
|
||||||
));
|
));
|
||||||
setState(() {
|
setState(() {
|
||||||
_loadingTasks.remove(newTask);
|
_loadingTasks.remove(newTask);
|
||||||
|
@ -706,7 +706,7 @@ class _ListPageState extends State<ListPage> {
|
||||||
bucket: bucket,
|
bucket: bucket,
|
||||||
).then((_) {
|
).then((_) {
|
||||||
ScaffoldMessenger.of(context).showSnackBar(SnackBar(
|
ScaffoldMessenger.of(context).showSnackBar(SnackBar(
|
||||||
content: Text('${bucket.title} bucket updated successfully!'),
|
content: Text('\'${bucket.title}\' bucket updated successfully!'),
|
||||||
));
|
));
|
||||||
setState(() {});
|
setState(() {});
|
||||||
});
|
});
|
||||||
|
@ -722,7 +722,7 @@ class _ListPageState extends State<ListPage> {
|
||||||
ScaffoldMessenger.of(context).showSnackBar(SnackBar(
|
ScaffoldMessenger.of(context).showSnackBar(SnackBar(
|
||||||
content: Row(
|
content: Row(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Text('${bucket.title} was deleted.'),
|
Text('\'${bucket.title}\' was deleted.'),
|
||||||
Icon(Icons.delete),
|
Icon(Icons.delete),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user