Skip to content

Commit ee63039

Browse files
committed
Merge dave and columns branches
- dave: increase Ask/Stop button min size for mobile touch targets - dave: add notification dot on hamburger menu for pending permissions - dave: use focus queue priority color for hamburger notification dot - columns: fix support section: load logs on view and limit log file growth
2 parents 685293d + 15aa29b commit ee63039

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

crates/notedeck_chrome/src/notedeck.rs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,13 @@ fn setup_logging(path: &DataPath) -> Option<WorkerGuard> {
2525
rolling::{RollingFileAppender, Rotation},
2626
};
2727

28-
let file_appender = RollingFileAppender::new(
29-
Rotation::DAILY,
30-
log_path,
31-
format!("notedeck-{}.log", env!("CARGO_PKG_VERSION")),
32-
);
28+
let file_appender = RollingFileAppender::builder()
29+
.rotation(Rotation::DAILY)
30+
.filename_prefix(format!("notedeck-{}", env!("CARGO_PKG_VERSION")))
31+
.filename_suffix("log")
32+
.max_log_files(3)
33+
.build(log_path)
34+
.expect("failed to initialize rolling file appender");
3335

3436
let (non_blocking, _guard) = non_blocking(file_appender);
3537

crates/notedeck_columns/src/nav.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -850,6 +850,7 @@ fn render_nav_body(
850850
DragResponse::none()
851851
}
852852
Route::Support => {
853+
app.support.refresh();
853854
SupportView::new(&mut app.support, ctx.i18n).show(ui);
854855
DragResponse::none()
855856
}

0 commit comments

Comments
 (0)