mirror of
https://github.com/immich-app/immich.git
synced 2025-05-24 01:12:58 -04:00
chore(mobile): minor housekeeping
This commit is contained in:
parent
0795410a41
commit
9e7cb52413
@ -290,7 +290,7 @@ class ImmichAssetGridViewState extends State<ImmichAssetGridView> {
|
|||||||
final now = Timeline.now;
|
final now = Timeline.now;
|
||||||
if (now > (_hapticFeedbackTS + feedbackInterval)) {
|
if (now > (_hapticFeedbackTS + feedbackInterval)) {
|
||||||
_hapticFeedbackTS = now;
|
_hapticFeedbackTS = now;
|
||||||
HapticFeedback.heavyImpact();
|
HapticFeedback.mediumImpact();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -120,7 +120,7 @@ class ImmichImage extends StatelessWidget {
|
|||||||
|
|
||||||
return OctoImage(
|
return OctoImage(
|
||||||
fadeInDuration: const Duration(milliseconds: 0),
|
fadeInDuration: const Duration(milliseconds: 0),
|
||||||
fadeOutDuration: const Duration(milliseconds: 400),
|
fadeOutDuration: const Duration(milliseconds: 200),
|
||||||
placeholderBuilder: (context) {
|
placeholderBuilder: (context) {
|
||||||
if (placeholder != null) {
|
if (placeholder != null) {
|
||||||
// Use the gray box placeholder
|
// Use the gray box placeholder
|
||||||
|
Loading…
x
Reference in New Issue
Block a user