mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Admin Portal - Profile
This commit is contained in:
parent
7061143dc3
commit
90b5fb7dc6
49
public/main.profile.dart.js
vendored
49
public/main.profile.dart.js
vendored
@ -425000,10 +425000,12 @@
|
|||||||
};
|
};
|
||||||
A._WindowManagerState.prototype = {
|
A._WindowManagerState.prototype = {
|
||||||
initState$0() {
|
initState$0() {
|
||||||
var t1 = $.$get$windowManager()._window_manager$_listeners;
|
if (A.isMacOS() || A.isWindows() || A.isLinux()) {
|
||||||
t1._isDirty = true;
|
var t1 = $.$get$windowManager()._window_manager$_listeners;
|
||||||
t1._observer_list$_list.push(this);
|
t1._isDirty = true;
|
||||||
this._init$0();
|
t1._observer_list$_list.push(this);
|
||||||
|
this._init$0();
|
||||||
|
}
|
||||||
this.super$State$initState();
|
this.super$State$initState();
|
||||||
},
|
},
|
||||||
_init$0() {
|
_init$0() {
|
||||||
@ -425031,7 +425033,7 @@
|
|||||||
onWindowResize$0() {
|
onWindowResize$0() {
|
||||||
var $async$goto = 0,
|
var $async$goto = 0,
|
||||||
$async$completer = A._makeAsyncAwaitCompleter(type$.dynamic),
|
$async$completer = A._makeAsyncAwaitCompleter(type$.dynamic),
|
||||||
size, prefs;
|
$async$returnValue, size, prefs;
|
||||||
var $async$onWindowResize$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
|
var $async$onWindowResize$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
|
||||||
if ($async$errorCode === 1)
|
if ($async$errorCode === 1)
|
||||||
return A._asyncRethrow($async$result, $async$completer);
|
return A._asyncRethrow($async$result, $async$completer);
|
||||||
@ -425039,20 +425041,26 @@
|
|||||||
switch ($async$goto) {
|
switch ($async$goto) {
|
||||||
case 0:
|
case 0:
|
||||||
// Function start
|
// Function start
|
||||||
$async$goto = 2;
|
if (!(A.isMacOS() || A.isWindows() || A.isLinux())) {
|
||||||
|
// goto return
|
||||||
|
$async$goto = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
$async$goto = 3;
|
||||||
return A._asyncAwait($.$get$windowManager().getSize$0(), $async$onWindowResize$0);
|
return A._asyncAwait($.$get$windowManager().getSize$0(), $async$onWindowResize$0);
|
||||||
case 2:
|
case 3:
|
||||||
// returning from await.
|
// returning from await.
|
||||||
size = $async$result;
|
size = $async$result;
|
||||||
$async$goto = 3;
|
$async$goto = 4;
|
||||||
return A._asyncAwait(A.SharedPreferences_getInstance(), $async$onWindowResize$0);
|
return A._asyncAwait(A.SharedPreferences_getInstance(), $async$onWindowResize$0);
|
||||||
case 3:
|
case 4:
|
||||||
// returning from await.
|
// returning from await.
|
||||||
prefs = $async$result;
|
prefs = $async$result;
|
||||||
prefs._setValue$3("Double", "width", size._dx);
|
prefs._setValue$3("Double", "width", size._dx);
|
||||||
prefs._setValue$3("Double", "height", size._dy);
|
prefs._setValue$3("Double", "height", size._dy);
|
||||||
// implicit return
|
case 1:
|
||||||
return A._asyncReturn(null, $async$completer);
|
// return
|
||||||
|
return A._asyncReturn($async$returnValue, $async$completer);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return A._asyncStartSync($async$onWindowResize$0, $async$completer);
|
return A._asyncStartSync($async$onWindowResize$0, $async$completer);
|
||||||
@ -425060,7 +425068,7 @@
|
|||||||
onWindowClose$0() {
|
onWindowClose$0() {
|
||||||
var $async$goto = 0,
|
var $async$goto = 0,
|
||||||
$async$completer = A._makeAsyncAwaitCompleter(type$.dynamic),
|
$async$completer = A._makeAsyncAwaitCompleter(type$.dynamic),
|
||||||
store, t1;
|
$async$returnValue, t1, store;
|
||||||
var $async$onWindowClose$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
|
var $async$onWindowClose$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
|
||||||
if ($async$errorCode === 1)
|
if ($async$errorCode === 1)
|
||||||
return A._asyncRethrow($async$result, $async$completer);
|
return A._asyncRethrow($async$result, $async$completer);
|
||||||
@ -425068,23 +425076,30 @@
|
|||||||
switch ($async$goto) {
|
switch ($async$goto) {
|
||||||
case 0:
|
case 0:
|
||||||
// Function start
|
// Function start
|
||||||
|
if (!(A.isMacOS() || A.isWindows() || A.isLinux())) {
|
||||||
|
// goto return
|
||||||
|
$async$goto = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
t1 = $.$get$navigatorKey();
|
t1 = $.$get$navigatorKey();
|
||||||
t1.toString;
|
t1.toString;
|
||||||
store = A.StoreProvider_of($.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1), type$.legacy_AppState);
|
store = A.StoreProvider_of($.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1), type$.legacy_AppState);
|
||||||
$async$goto = 2;
|
$async$goto = 3;
|
||||||
return A._asyncAwait($.$get$windowManager().isPreventClose$0(), $async$onWindowClose$0);
|
return A._asyncAwait($.$get$windowManager().isPreventClose$0(), $async$onWindowClose$0);
|
||||||
case 2:
|
case 3:
|
||||||
// returning from await.
|
// returning from await.
|
||||||
if ($async$result)
|
if ($async$result)
|
||||||
A.checkForChanges(new A._WindowManagerState_onWindowClose_closure(), false, store);
|
A.checkForChanges(new A._WindowManagerState_onWindowClose_closure(), false, store);
|
||||||
// implicit return
|
case 1:
|
||||||
return A._asyncReturn(null, $async$completer);
|
// return
|
||||||
|
return A._asyncReturn($async$returnValue, $async$completer);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return A._asyncStartSync($async$onWindowClose$0, $async$completer);
|
return A._asyncStartSync($async$onWindowClose$0, $async$completer);
|
||||||
},
|
},
|
||||||
dispose$0() {
|
dispose$0() {
|
||||||
$.$get$windowManager()._window_manager$_listeners.remove$1(0, this);
|
if (A.isMacOS() || A.isWindows() || A.isLinux())
|
||||||
|
$.$get$windowManager()._window_manager$_listeners.remove$1(0, this);
|
||||||
this.super$State$dispose();
|
this.super$State$dispose();
|
||||||
},
|
},
|
||||||
build$1(context) {
|
build$1(context) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user