update page title based on actionType

This commit is contained in:
Neeraj Gupta 2021-09-13 12:44:43 +05:30
parent 3099a1a9ae
commit 5ecb730c72
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1

View file

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