mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-22 23:19:21 +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
|
@override
|
||||||
getPickerRoot() {
|
getPickerRoot() {
|
||||||
var root = api_util.getWebdavRootUrlRelative(widget.account);
|
final root = api_util.getWebdavRootUrlRelative(widget.account);
|
||||||
if (widget.account.roots.length == 1) {
|
if (widget.account.roots.length == 1) {
|
||||||
return "$root/${widget.account.roots.first}";
|
return "$root/${widget.account.roots.first}";
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue