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
39
public/main.profile.dart.js
vendored
39
public/main.profile.dart.js
vendored
@ -425000,10 +425000,12 @@
|
||||
};
|
||||
A._WindowManagerState.prototype = {
|
||||
initState$0() {
|
||||
if (A.isMacOS() || A.isWindows() || A.isLinux()) {
|
||||
var t1 = $.$get$windowManager()._window_manager$_listeners;
|
||||
t1._isDirty = true;
|
||||
t1._observer_list$_list.push(this);
|
||||
this._init$0();
|
||||
}
|
||||
this.super$State$initState();
|
||||
},
|
||||
_init$0() {
|
||||
@ -425031,7 +425033,7 @@
|
||||
onWindowResize$0() {
|
||||
var $async$goto = 0,
|
||||
$async$completer = A._makeAsyncAwaitCompleter(type$.dynamic),
|
||||
size, prefs;
|
||||
$async$returnValue, size, prefs;
|
||||
var $async$onWindowResize$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
|
||||
if ($async$errorCode === 1)
|
||||
return A._asyncRethrow($async$result, $async$completer);
|
||||
@ -425039,20 +425041,26 @@
|
||||
switch ($async$goto) {
|
||||
case 0:
|
||||
// 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);
|
||||
case 2:
|
||||
case 3:
|
||||
// returning from await.
|
||||
size = $async$result;
|
||||
$async$goto = 3;
|
||||
$async$goto = 4;
|
||||
return A._asyncAwait(A.SharedPreferences_getInstance(), $async$onWindowResize$0);
|
||||
case 3:
|
||||
case 4:
|
||||
// returning from await.
|
||||
prefs = $async$result;
|
||||
prefs._setValue$3("Double", "width", size._dx);
|
||||
prefs._setValue$3("Double", "height", size._dy);
|
||||
// implicit return
|
||||
return A._asyncReturn(null, $async$completer);
|
||||
case 1:
|
||||
// return
|
||||
return A._asyncReturn($async$returnValue, $async$completer);
|
||||
}
|
||||
});
|
||||
return A._asyncStartSync($async$onWindowResize$0, $async$completer);
|
||||
@ -425060,7 +425068,7 @@
|
||||
onWindowClose$0() {
|
||||
var $async$goto = 0,
|
||||
$async$completer = A._makeAsyncAwaitCompleter(type$.dynamic),
|
||||
store, t1;
|
||||
$async$returnValue, t1, store;
|
||||
var $async$onWindowClose$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
|
||||
if ($async$errorCode === 1)
|
||||
return A._asyncRethrow($async$result, $async$completer);
|
||||
@ -425068,22 +425076,29 @@
|
||||
switch ($async$goto) {
|
||||
case 0:
|
||||
// Function start
|
||||
if (!(A.isMacOS() || A.isWindows() || A.isLinux())) {
|
||||
// goto return
|
||||
$async$goto = 1;
|
||||
break;
|
||||
}
|
||||
t1 = $.$get$navigatorKey();
|
||||
t1.toString;
|
||||
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);
|
||||
case 2:
|
||||
case 3:
|
||||
// returning from await.
|
||||
if ($async$result)
|
||||
A.checkForChanges(new A._WindowManagerState_onWindowClose_closure(), false, store);
|
||||
// implicit return
|
||||
return A._asyncReturn(null, $async$completer);
|
||||
case 1:
|
||||
// return
|
||||
return A._asyncReturn($async$returnValue, $async$completer);
|
||||
}
|
||||
});
|
||||
return A._asyncStartSync($async$onWindowClose$0, $async$completer);
|
||||
},
|
||||
dispose$0() {
|
||||
if (A.isMacOS() || A.isWindows() || A.isLinux())
|
||||
$.$get$windowManager()._window_manager$_listeners.remove$1(0, this);
|
||||
this.super$State$dispose();
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user