syncLoading synchronizes the main loading state with the active section view.
(cmd tea.Cmd)
| 126 | toastID uint64 |
| 127 | |
| 128 | // Loading & error |
| 129 | loading bool |
| 130 | spinnerPhase float64 |
| 131 | err error |
| 132 | ctrlCOnce bool |
| 133 | pendingOpen *OpenRequest |
| 134 | } |
| 135 | |
| 136 | func newModel() model { |
| 137 | return newModelWithMailAccounts(nil, nil, "all", Watchers{}) |
| 138 | } |
| 139 | |
| 140 | func newModelWithMailAccounts(rootSDK, sdk *hey.Client, selected string, watchers Watchers) model { |
| 141 | theme := ResolveTheme() |
no test coverage detected