Make use theme colors instead of hard-coded ones (#65)

This commit is contained in:
lolocomotive
2021-10-28 19:13:21 +02:00
committed by GitHub
parent fbe542e5bf
commit f2f44f0f6f
2 changed files with 5 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ void ModalViewEmptyController::ModalViewEmptyView::setMessages(I18n::Message * m
void ModalViewEmptyController::ModalViewEmptyView::drawRect(KDContext * ctx, KDRect rect) const {
ctx->fillRect(bounds(), k_backgroundColor);
drawBorderOfRect(ctx, bounds(), Palette::GrayBright);
drawBorderOfRect(ctx, bounds(), Palette::ListCellBorder);
}
int ModalViewEmptyController::ModalViewEmptyView::numberOfSubviews() const {