mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 16:56:19 +01:00
Prefer final variable
This commit is contained in:
parent
5257766151
commit
7386a69d79
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class _AlbumDirPickerState extends State<AlbumDirPicker>
|
|||
|
||||
@override
|
||||
getPickerRoot() {
|
||||
var root = api_util.getWebdavRootUrlRelative(widget.account);
|
||||
final root = api_util.getWebdavRootUrlRelative(widget.account);
|
||||
if (widget.account.roots.length == 1) {
|
||||
return "$root/${widget.account.roots.first}";
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue