mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
chore: beta flavor build (#19862)
* chore: beta flavor build * make file * beta flavor * add build flavor to GHA * add build flavor to GHA
This commit is contained in:
parent
de345a9524
commit
d087f7c870
10 changed files with 91 additions and 41 deletions
|
|
@ -2,6 +2,7 @@ import 'package:auto_route/auto_route.dart';
|
|||
import 'package:easy_localization/easy_localization.dart';
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter_svg/svg.dart';
|
||||
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
||||
import 'package:immich_mobile/extensions/build_context_extensions.dart';
|
||||
|
|
@ -185,7 +186,7 @@ class ImmichAppBar extends ConsumerWidget implements PreferredSizeWidget {
|
|||
child: action,
|
||||
),
|
||||
),
|
||||
if (kDebugMode || kProfileMode)
|
||||
if (kDebugMode || kProfileMode || appFlavor == 'beta')
|
||||
IconButton(
|
||||
icon: const Icon(Icons.science_rounded),
|
||||
onPressed: () => context.pushRoute(const FeatInDevRoute()),
|
||||
|
|
|
|||
|
|
@ -76,6 +76,11 @@ class ImmichSliverAppBar extends ConsumerWidget {
|
|||
onPressed: () {
|
||||
ref.read(backgroundSyncProvider).syncLocal(full: true);
|
||||
ref.read(backgroundSyncProvider).syncRemote();
|
||||
|
||||
Future.delayed(
|
||||
const Duration(seconds: 10),
|
||||
() => ref.read(backgroundSyncProvider).hashAssets(),
|
||||
);
|
||||
},
|
||||
icon: const Icon(
|
||||
Icons.sync,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue