update page title based on actionType
This commit is contained in:
parent
3099a1a9ae
commit
5ecb730c72
|
@ -43,7 +43,9 @@ class _CreateCollectionPageState extends State<CreateCollectionPage> {
|
|||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Text("add files"),
|
||||
title: Text(widget.actionType == CollectionActionType.addFiles
|
||||
? "add files"
|
||||
: "move files"),
|
||||
),
|
||||
body: _getBody(context),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue