mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(mobile): use cached thumbnail in full size image provider (#20637)
This commit is contained in:
parent
9680f1290d
commit
9e6fee4064
10 changed files with 166 additions and 76 deletions
|
|
@ -13,6 +13,9 @@ extension ContextHelper on BuildContext {
|
|||
// Returns the current height from MediaQuery
|
||||
double get height => MediaQuery.sizeOf(this).height;
|
||||
|
||||
// Returns the current size from MediaQuery
|
||||
Size get sizeData => MediaQuery.sizeOf(this);
|
||||
|
||||
// Returns true if the app is running on a mobile device (!tablets)
|
||||
bool get isMobile => width < 550;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue