You've already forked immich
mirror of
https://github.com/immich-app/immich.git
synced 2025-08-08 23:07:06 +02: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:
@ -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,
|
||||
|
Reference in New Issue
Block a user