优化夜晚模式下对话框文字+添加MIME 类型参数,调用对应应用 (#4655)

* style(dialog): 优化确认对话框样式

- 修改工具栏 ID为 tool_bar
- 为消息文本添加主文本颜色
- 设置工具栏标题文本颜色

* feat(app): 优化外部链接跳转逻辑并支持 MIME 类型- 重构 ConfirmationDialogActivity 中的跳转逻辑,支持处理 MIME 类型
- 在 JsExtensions 中的 openUrl 函数增加 mimeType 参数,允许传递 MIME 类型

---------

Co-authored-by: SunQAQ <sunqi87c6@gmail.com>
This commit is contained in:
Sun-QAQandSunQAQ authored and GitHub committed 2025-02-12 12:51:32 +08:00
1 parent 3dbd9ba3fe
commit ea267b2cff
4 files changed
+37 -17

No files matched your search

@@ -14,7 +14,7 @@
android:orientation="vertical">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:id="@+id/tool_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="?attr/actionBarStyle"
@@ -28,7 +28,8 @@
android:layout_height="wrap_content"
android:padding="16dp"
android:textSize="16sp"
android:textAppearance="?attr/textAppearanceBodyMedium"/>
android:textAppearance="?attr/textAppearanceBodyMedium"
android:textColor="@color/primaryText" />
<com.google.android.flexbox.FlexboxLayout
android:layout_width="match_parent"