[Bug] 建议把黑白主题设置同步到启动页面

Open Beginner friendly
#197 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
66/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
rust, tauri
Domain
desktop-dev

Research direction

Start with the Tauri window configuration (tauri.conf.json) to find how the startup/splash window is declared, then look at the app setup in src-tauri/src for where that window is created and shown on launch. Find where the user's light/dark theme preference is persisted and read it before creating the splash window, applying the matching background/theme. Done means launching the desktop app with dark theme selected shows a dark startup screen instead of a white flash, on Windows.

Written by the indexing model from the issue text.

Description

bug
What happened? / 实际发生了什么?

问题描述

桌面端的启动界面怎么是全白的,像吃了一颗闪一样

问题演示(也请你吃一颗)

图片
Expected behavior / 预期行为

建议把黑白主题设置同步到启动页面,譬如我设置主题为黑色,启动页面也要是黑色的

Steps to reproduce / 复现步骤
  1. 打开 AstrBot Desktop

  2. 吃一颗闪

图片
Desktop version / 桌面端版本

v4.29.4

Installation channel / 安装来源

GitHub Release installer

OS / 操作系统

Windows

Architecture / 架构

amd64

Upstream AstrBot ref used by desktop build (optional) / 桌面构建使用的上游 AstrBot Ref(可选)

No response

Logs, screenshots, and additional context / 日志、截图与补充信息

没有

Willing to submit a PR? / 是否愿意提交 PR?
  • I am willing to submit a PR to fix this issue. / 我愿意提交 PR 修复此问题。
Code of Conduct
  • I agree to follow the project's Code of Conduct. / 我同意遵守项目行为准则。
Dominant language
Rust
Stars
1.1k
Forks
52
Avg merge
2d 14h
Merged PRs (30d)
5

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AstrBotDevs/AstrBot-desktop

All issues in AstrBotDevs/AstrBot-desktop

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.