diff --git a/android/app/src/main/res/drawable/download.xml b/android/app/src/main/res/drawable/download.xml deleted file mode 100644 index 487998bf4..000000000 --- a/android/app/src/main/res/drawable/download.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - diff --git a/android/app/src/main/res/drawable/ic_shortcut_download.png b/android/app/src/main/res/drawable/ic_shortcut_download.png new file mode 100644 index 000000000..13827bdeb Binary files /dev/null and b/android/app/src/main/res/drawable/ic_shortcut_download.png differ diff --git a/android/app/src/main/res/drawable/ic_shortcut_search.png b/android/app/src/main/res/drawable/ic_shortcut_search.png new file mode 100644 index 000000000..9c7fcf5df Binary files /dev/null and b/android/app/src/main/res/drawable/ic_shortcut_search.png differ diff --git a/android/app/src/main/res/drawable/search.xml b/android/app/src/main/res/drawable/search.xml deleted file mode 100644 index d6f0b1dc5..000000000 --- a/android/app/src/main/res/drawable/search.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - diff --git a/android/app/src/main/res/xml-v25/shortcuts.xml b/android/app/src/main/res/xml-v25/shortcuts.xml index 0d7fab8ad..8d83c72a8 100644 --- a/android/app/src/main/res/xml-v25/shortcuts.xml +++ b/android/app/src/main/res/xml-v25/shortcuts.xml @@ -1,6 +1,6 @@ @@ -9,7 +9,7 @@ android:data="bilibili://search" /> diff --git a/lib/common/widgets/image_grid/image_grid_view.dart b/lib/common/widgets/image_grid/image_grid_view.dart index b3a49f072..b2fbfc84d 100644 --- a/lib/common/widgets/image_grid/image_grid_view.dart +++ b/lib/common/widgets/image_grid/image_grid_view.dart @@ -54,7 +54,8 @@ class ImageModel { bool? _isLongPic; bool? _isLivePhoto; - bool get isLongPic => _isLongPic ??= (height / width) > Style.imgMaxRatio; + bool get isLongPic => + _isLongPic ??= (height / width) > Style.imgMaxRatio && width > 100; bool get isLivePhoto => _isLivePhoto ??= enableLivePhoto && liveUrl?.isNotEmpty == true;