Avoid flashing white when opening debuglog in dark theme.

This commit is contained in:
Greyson Parrelli
2025-08-15 09:44:53 -04:00
parent 0ed4785935
commit b93937e866
4 changed files with 21 additions and 4 deletions

View File

@@ -330,7 +330,10 @@ public class SubmitDebugLogActivity extends BaseActivity {
this.scrollToTopButton = findViewById(R.id.debug_log_scroll_to_top);
this.progressCard = findViewById(R.id.debug_log_progress_card);
DebugLogsViewer.initWebView(logWebView, this, this::subscribeToLogLines);
DebugLogsViewer.initWebView(logWebView, this, () -> {
logWebView.animate().alpha(1f).setDuration(250).start();
subscribeToLogLines();
});
submitButton.setOnClickListener(v -> onSubmitClicked());
scrollToTopButton.setOnClickListener(v -> DebugLogsViewer.scrollToTop(logWebView));