mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 06:07:33 -05:00 
			
		
		
		
	Admin Portal - Profile
This commit is contained in:
		
							parent
							
								
									178b79407e
								
							
						
					
					
						commit
						dd3286ff0f
					
				
							
								
								
									
										19
									
								
								public/main.profile.dart.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										19
									
								
								public/main.profile.dart.js
									
									
									
									
										vendored
									
									
								
							@ -382070,7 +382070,7 @@
 | 
				
			|||||||
      return A.Stack$(B.AlignmentDirectional_m1_m1, t1, B.Clip_1, B.StackFit_0, _null, _null);
 | 
					      return A.Stack$(B.AlignmentDirectional_m1_m1, t1, B.Clip_1, B.StackFit_0, _null, _null);
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    _buildEdit$1(context) {
 | 
					    _buildEdit$1(context) {
 | 
				
			||||||
      var t4, enableCustomEmail, t5, _this = this, _null = null,
 | 
					      var t4, enableCustomEmail, t5, t6, _this = this, _null = null,
 | 
				
			||||||
        t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.legacy_AppLocalization),
 | 
					        t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.legacy_AppLocalization),
 | 
				
			||||||
        state = _this._widget.viewModel.state,
 | 
					        state = _this._widget.viewModel.state,
 | 
				
			||||||
        t2 = state.authState,
 | 
					        t2 = state.authState,
 | 
				
			||||||
@ -382105,15 +382105,16 @@
 | 
				
			|||||||
      } else
 | 
					      } else
 | 
				
			||||||
        enableCustomEmail = true;
 | 
					        enableCustomEmail = true;
 | 
				
			||||||
      t2 = A._setArrayType([], type$.JSArray_legacy_Widget);
 | 
					      t2 = A._setArrayType([], type$.JSArray_legacy_Widget);
 | 
				
			||||||
      if (!enableCustomEmail)
 | 
					      t3 = !enableCustomEmail;
 | 
				
			||||||
 | 
					      if (t3)
 | 
				
			||||||
        t2.push(new A.Padding(B.EdgeInsets_0_0_0_10, new A.IconMessage(t1.get$customEmailsDisabledHelp(), _null, _null, A.TextButton$(false, A.Text$(t1.get$upgrade().toUpperCase(), _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, B.Color_4294967295, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), _null, new A._InvoiceEmailViewState__buildEdit_closure(state), _null), _null), _null));
 | 
					        t2.push(new A.Padding(B.EdgeInsets_0_0_0_10, new A.IconMessage(t1.get$customEmailsDisabledHelp(), _null, _null, A.TextButton$(false, A.Text$(t1.get$upgrade().toUpperCase(), _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, B.Color_4294967295, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), _null, new A._InvoiceEmailViewState__buildEdit_closure(state), _null), _null), _null));
 | 
				
			||||||
      t3 = state.userCompanyStates;
 | 
					      t4 = state.userCompanyStates;
 | 
				
			||||||
      t4 = state.uiState.selectedCompanyIndex;
 | 
					      t5 = state.uiState.selectedCompanyIndex;
 | 
				
			||||||
      t3 = t3._list;
 | 
					      t4 = t4._list;
 | 
				
			||||||
      t5 = t3[t4].userCompany.company.markdownEmailEnabled && _this._widget.viewModel.state.prefState.appLayout === B.AppLayout_desktop && !A._lateReadCheck(A.StoreProvider_of(context, type$.legacy_AppState).__Store__state, "_state").prefState.enableDarkMode ? B.Color_4294967295 : A.Theme_of(context).backgroundColor;
 | 
					      t6 = t4[t5].userCompany.company.markdownEmailEnabled && _this._widget.viewModel.state.prefState.appLayout === B.AppLayout_desktop && !A._lateReadCheck(A.StoreProvider_of(context, type$.legacy_AppState).__Store__state, "_state").prefState.enableDarkMode ? B.Color_4294967295 : A.Theme_of(context).backgroundColor;
 | 
				
			||||||
      t2.push(new A.ColoredBox(t5, new A.Padding(B.EdgeInsets_24_0_10_16, A.DecoratedFormField$(false, _null, false, false, _this._invoice_email_view$_subjectController, _null, enableCustomEmail, _null, _null, _null, _null, false, false, _null, B.TextInputType_0_null_null, t1.get$subject(), _null, _null, false, new A._InvoiceEmailViewState__buildEdit_closure0(_this), _null, _null, true, _null, _null, B.TextAlign_4, _null), _null), _null));
 | 
					      t2.push(new A.ColoredBox(t6, new A.Padding(B.EdgeInsets_24_0_10_16, A.DecoratedFormField$(false, _null, false, false, _this._invoice_email_view$_subjectController, _null, enableCustomEmail, _null, _null, _null, _null, false, false, _null, B.TextInputType_0_null_null, t1.get$subject(), _null, _null, false, new A._InvoiceEmailViewState__buildEdit_closure0(_this), _null, _null, true, _null, _null, B.TextAlign_4, _null), _null), _null));
 | 
				
			||||||
      if (t3[t4].userCompany.company.markdownEmailEnabled && _this._widget.viewModel.state.prefState.appLayout === B.AppLayout_desktop)
 | 
					      if (t4[t5].userCompany.company.markdownEmailEnabled && _this._widget.viewModel.state.prefState.appLayout === B.AppLayout_desktop)
 | 
				
			||||||
        t2.push(A.Expanded$(new A.ColoredBox(B.Color_4294967295, new A.ExampleEditor(_this._rawBodyPreview, new A._InvoiceEmailViewState__buildEdit_closure1(_this), _null), _null), 1));
 | 
					        t2.push(A.Expanded$(new A.ColoredBox(B.Color_4294967295, new A.IgnorePointer(t3, _null, new A.ExampleEditor(_this._rawBodyPreview, new A._InvoiceEmailViewState__buildEdit_closure1(_this), _null), _null), _null), 1));
 | 
				
			||||||
      else {
 | 
					      else {
 | 
				
			||||||
        t1 = t1.get$body(t1);
 | 
					        t1 = t1.get$body(t1);
 | 
				
			||||||
        t3 = enableCustomEmail ? 6 : 2;
 | 
					        t3 = enableCustomEmail ? 6 : 2;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user