Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-04-15 12:18:57 +08:00
parent 1b0b966e76
commit e566a358dd
6 changed files with 4 additions and 23 deletions

View File

@@ -1,10 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#515151"
android:pathData="M16.59 9H15V4c0-.55-.45-1-1-1h-4c-.55 0-1 .45-1 1v5H7.41c-.89 0-1.34 1.08-.71 1.71l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.63-.63.19-1.71-.7-1.71zM5 19c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1z" />
</vector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -1,10 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#515151"
android:pathData="M15.5 14h-.79l-.28-.27c1.2-1.4 1.82-3.31 1.48-5.34-.47-2.78-2.79-5-5.59-5.34-4.23-.52-7.79 3.04-7.27 7.27.34 2.8 2.56 5.12 5.34 5.59 2.03.34 3.94-.28 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" />
</vector>

View File

@@ -1,6 +1,6 @@
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android"> <shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
<shortcut <shortcut
android:icon="@drawable/search" android:icon="@drawable/ic_shortcut_search"
android:shortcutId="search" android:shortcutId="search"
android:shortcutLongLabel="@string/search" android:shortcutLongLabel="@string/search"
android:shortcutShortLabel="@string/search"> android:shortcutShortLabel="@string/search">
@@ -9,7 +9,7 @@
android:data="bilibili://search" /> android:data="bilibili://search" />
</shortcut> </shortcut>
<shortcut <shortcut
android:icon="@drawable/download" android:icon="@drawable/ic_shortcut_download"
android:shortcutId="offline_video" android:shortcutId="offline_video"
android:shortcutLongLabel="@string/offline_video" android:shortcutLongLabel="@string/offline_video"
android:shortcutShortLabel="@string/offline_video"> android:shortcutShortLabel="@string/offline_video">

View File

@@ -54,7 +54,8 @@ class ImageModel {
bool? _isLongPic; bool? _isLongPic;
bool? _isLivePhoto; bool? _isLivePhoto;
bool get isLongPic => _isLongPic ??= (height / width) > Style.imgMaxRatio; bool get isLongPic =>
_isLongPic ??= (height / width) > Style.imgMaxRatio && width > 100;
bool get isLivePhoto => bool get isLivePhoto =>
_isLivePhoto ??= enableLivePhoto && liveUrl?.isNotEmpty == true; _isLivePhoto ??= enableLivePhoto && liveUrl?.isNotEmpty == true;