Skip to content

Commit 97edffd

Browse files
authored
Merge pull request #15 from nini22P/dev
feat: support for custom https ports when adding WebDAV storage
2 parents 95b7126 + 13c0e86 commit 97edffd

3 files changed

Lines changed: 14 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
## v1.3.2
2+
3+
### Changelog
4+
5+
* Support for custom https ports when adding WebDAV storage
6+
7+
### 更新日志
8+
9+
* 添加 WebDAV 存储时支持自定义 https 端口
10+
11+
112
## v1.3.1
213

314
### Changelog

lib/pages/dialog/show_webdav_dialog.dart

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,6 @@ class WebDAVDialog extends HookWidget {
151151
isTested.value = false;
152152
if (value == '443') {
153153
https.value = true;
154-
} else {
155-
https.value = false;
156154
}
157155
},
158156
),
@@ -176,9 +174,9 @@ class WebDAVDialog extends HookWidget {
176174
value: https.value,
177175
onChanged: (_) {
178176
isTested.value = false;
179-
if (!https.value) {
177+
if (portController.text == '80') {
180178
portController.text = '443';
181-
} else {
179+
} else if (portController.text == '443') {
182180
portController.text = '80';
183181
}
184182
https.value = !https.value;

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: iris
22
description: "A lightweight video player"
33
publish_to: 'none'
4-
version: 1.3.1+3
4+
version: 1.3.2+3
55

66
environment:
77
sdk: ^3.5.4

0 commit comments

Comments
 (0)