| 920 | } |
| 921 | |
| 922 | void GrWorkspace::CheckOffSiteUpdate() { |
| 923 | auto pc = grApp->GetCompanion(); |
| 924 | if (!pc) { |
| 925 | return; |
| 926 | } |
| 927 | if (pc->HasUpdateForOffSite()) { |
| 928 | app_->GetContext()->PostUITask([=, this]() { |
| 929 | jump_to_github_widget_->show(); |
| 930 | }); |
| 931 | } |
| 932 | else { |
| 933 | app_->GetContext()->PostUITask([=, this]() { |
| 934 | jump_to_github_widget_->hide(); |
| 935 | }); |
| 936 | } |
| 937 | } |
| 938 | } |
nothing calls this directly
no test coverage detected