mobile reset waitForImage
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
a0cc6afa7e
commit
0c77d6d918
@ -1623,6 +1623,12 @@ class FFI {
|
|||||||
elevationModel = ElevationModel(WeakReference(this));
|
elevationModel = ElevationModel(WeakReference(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Mobile reuse FFI
|
||||||
|
void mobileReset() {
|
||||||
|
_waitForImageDialogShow.clear();
|
||||||
|
_waitForFirstImage.clear();
|
||||||
|
}
|
||||||
|
|
||||||
/// Start with the given [id]. Only transfer file if [isFileTransfer], only port forward if [isPortForward].
|
/// Start with the given [id]. Only transfer file if [isFileTransfer], only port forward if [isPortForward].
|
||||||
void start(String id,
|
void start(String id,
|
||||||
{bool isFileTransfer = false,
|
{bool isFileTransfer = false,
|
||||||
@ -1633,6 +1639,7 @@ class FFI {
|
|||||||
bool? forceRelay}) {
|
bool? forceRelay}) {
|
||||||
closed = false;
|
closed = false;
|
||||||
auditNote = '';
|
auditNote = '';
|
||||||
|
if (isMobile) mobileReset();
|
||||||
assert(!(isFileTransfer && isPortForward), 'more than one connect type');
|
assert(!(isFileTransfer && isPortForward), 'more than one connect type');
|
||||||
if (isFileTransfer) {
|
if (isFileTransfer) {
|
||||||
connType = ConnType.fileTransfer;
|
connType = ConnType.fileTransfer;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user