mirror of
https://github.com/immich-app/immich.git
synced 2024-12-25 10:43:13 +02:00
deaf81e2a4
* fix: exclude albums filter in backup provider * refactor: Separate builder methods for Top Control App Bar buttons * fix: Show download button only for Remote only assets * fix(mobile): Force Refresh duration is too low to trigger it consistently * feat(mobile): Make Buttons dynamic in Home Selection DraggableScrollableSheet * feat(mobile): Manual Asset upload * refactor(mobile): Replace _showToast with ImmichToast calls * refactor(mobile): home_page selectionAssetState handling * chore(mobile): min and initial size of DraggableScrollState increased This is to prevent the buttons in the bottom sheet getting clipped behind the 3 way navigation buttons in the default density of Android devices * feat(mobile): notifications for manual upload progress * wording --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
17 lines
462 B
Dart
17 lines
462 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:immich_mobile/shared/ui/confirm_dialog.dart';
|
|
|
|
class UploadDialog extends ConfirmDialog {
|
|
final Function onUpload;
|
|
|
|
const UploadDialog({Key? key, required this.onUpload})
|
|
: super(
|
|
key: key,
|
|
title: 'upload_dialog_title',
|
|
content: 'upload_dialog_info',
|
|
cancel: 'upload_dialog_cancel',
|
|
ok: 'upload_dialog_ok',
|
|
onOk: onUpload,
|
|
);
|
|
}
|