Implement information settings section.

This commit is contained in:
John Preston
2018-09-09 20:38:08 +03:00
parent 633ff4b60e
commit bbe6d2d13b
26 changed files with 459 additions and 25 deletions
@@ -222,6 +222,14 @@ rpl::producer<SelectedItems> ContentWidget::selectedListValue() const {
return rpl::single(SelectedItems(Storage::SharedMediaType::Photo));
}
rpl::producer<bool> ContentWidget::canSaveChanges() const {
return rpl::single(false);
}
void ContentWidget::saveChanges(FnMut<void()> done) {
done();
}
void ContentWidget::refreshSearchField(bool shown) {
auto search = _controller->searchFieldController();
if (search && shown) {