mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat(mobile): Improve timeline performance on mobile - experimental (#710)
This commit is contained in:
parent
8ede738396
commit
28bf497a0b
14 changed files with 1070 additions and 50 deletions
|
|
@ -10,6 +10,7 @@ class ImmichToast {
|
|||
ToastType toastType = ToastType.info,
|
||||
ToastGravity gravity = ToastGravity.TOP,
|
||||
}) {
|
||||
final isDarkTheme = Theme.of(context).brightness == Brightness.dark;
|
||||
final fToast = FToast();
|
||||
fToast.init(context);
|
||||
|
||||
|
|
@ -49,7 +50,7 @@ class ImmichToast {
|
|||
padding: const EdgeInsets.symmetric(horizontal: 24.0, vertical: 12.0),
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(5.0),
|
||||
color: Colors.grey[50],
|
||||
color: isDarkTheme ? Colors.grey[900] : Colors.grey[50],
|
||||
border: Border.all(
|
||||
color: Colors.black12,
|
||||
width: 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue