@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix visibility of `AphrontBarView::getDefaultColor()` methods

Summary: Ref T6822.

Test Plan: Visual inspection. This method is only called from within the `AphrontBarView` class.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T6822

Differential Revision: https://secure.phabricator.com/D11240

+2 -2
+1 -1
src/view/widget/bars/AphrontGlyphBarView.php
··· 11 11 private $fgGlyph; 12 12 private $bgGlyph; 13 13 14 - public function getDefaultColor() { 14 + protected function getDefaultColor() { 15 15 return AphrontBarView::COLOR_AUTO_GOODNESS; 16 16 } 17 17
+1 -1
src/view/widget/bars/AphrontProgressBarView.php
··· 8 8 private $max = 100; 9 9 private $alt = ''; 10 10 11 - public function getDefaultColor() { 11 + protected function getDefaultColor() { 12 12 return AphrontBarView::COLOR_AUTO_BADNESS; 13 13 } 14 14