diff --git a/public/main.profile.dart.js b/public/main.profile.dart.js index 267649b489c9..8868ae1eb513 100644 --- a/public/main.profile.dart.js +++ b/public/main.profile.dart.js @@ -93109,6 +93109,7 @@ builder.get$_pref_state$_$this()._darkModeType = "system"; builder.get$_pref_state$_$this()._colorTheme = "light"; builder.get$_pref_state$_$this()._darkColorTheme = "dark"; + builder.get$_pref_state$_$this()._enableDarkModeSystem = false; return builder; }, _$valueOf1($name) { @@ -462192,19 +462193,20 @@ t3 = uiState.currentRoute; if (B.JSString_methods.startsWith$1(t3, "/settings")) { t1 = t1.__Store__state_A; - t4 = t1.userCompanyStates; + t3 = t1.userCompanyStates; t1 = t1.uiState.selectedCompanyIndex; - t1 = t4._list[t1].userCompany.user; - t4 = uiState.get$subRoute(); - t2[0].call$1(new A.ViewSettings(_this.company, _null, _null, t1, true, t4, false, _null)); - } - if (!uiState.get$isEditing()) - t1 = !uiState.get$isEditing() && !B.JSString_methods.endsWith$1(t3, "/email") || B.JSString_methods.endsWith$1(t3, "/email") || B.JSString_methods.endsWith$1(t3, "/pdf"); - else - t1 = true; - if (t1) { - t1 = uiState.get$baseRoute(); - t2[0].call$1(new A.UpdateCurrentRoute(t1)); + t1 = t3._list[t1].userCompany.user; + t3 = uiState.get$subRoute(); + t2[0].call$1(new A.ViewSettings(_this.company, _null, _null, t1, true, t3, false, _null)); + } else { + if (!uiState.get$isEditing()) + t1 = !uiState.get$isEditing() && !B.JSString_methods.endsWith$1(t3, "/email") || B.JSString_methods.endsWith$1(t3, "/email") || B.JSString_methods.endsWith$1(t3, "/pdf"); + else + t1 = true; + if (t1) { + t1 = uiState.get$baseRoute(); + t2[0].call$1(new A.UpdateCurrentRoute(t1)); + } } }, $signature: 1 @@ -567331,7 +567333,7 @@ return false; }, $ge(_, o) { - return false; + return o instanceof A.Version && A.Version__compare(this, o) >= 0; }, compareTo$1(_, other) { if (other == null)