mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
chore: deprecate old timeline (#22328)
* chore: deprecate old timeline * change trigger and duration --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
parent
913f543307
commit
ee49136e97
1 changed files with 17 additions and 12 deletions
|
|
@ -129,19 +129,24 @@ class ImmichAppBar extends ConsumerWidget implements PreferredSizeWidget {
|
||||||
title: Builder(
|
title: Builder(
|
||||||
builder: (BuildContext context) {
|
builder: (BuildContext context) {
|
||||||
return Row(
|
return Row(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
Builder(
|
Padding(
|
||||||
builder: (context) {
|
padding: const EdgeInsets.only(top: 3.0),
|
||||||
return Padding(
|
child: SvgPicture.asset(
|
||||||
padding: const EdgeInsets.only(top: 3.0),
|
context.isDarkTheme ? 'assets/immich-logo-inline-dark.svg' : 'assets/immich-logo-inline-light.svg',
|
||||||
child: SvgPicture.asset(
|
height: 40,
|
||||||
context.isDarkTheme
|
),
|
||||||
? 'assets/immich-logo-inline-dark.svg'
|
),
|
||||||
: 'assets/immich-logo-inline-light.svg',
|
const Tooltip(
|
||||||
height: 40,
|
triggerMode: TooltipTriggerMode.tap,
|
||||||
),
|
showDuration: Duration(seconds: 4),
|
||||||
);
|
message:
|
||||||
},
|
"The old timeline is deprecated and will be removed in a future release. Kindly switch to the new timeline under Advanced Settings.",
|
||||||
|
child: Padding(
|
||||||
|
padding: EdgeInsets.only(top: 3.0),
|
||||||
|
child: Icon(Icons.error_rounded, fill: 1, color: Colors.amber, size: 20),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue