mirror of
https://github.com/immich-app/immich.git
synced 2024-11-19 11:58:57 -07:00
40a8115101
* Fixed app not resuming backup after closing and reopening the app * Fixed cosmetic effect of backup button doesn't change state right away after pressing start backup * Fixed grammar * Fixed deep copy problem that cause incorrect asset count when backing up * Format code
17 lines
363 B
Dart
17 lines
363 B
Dart
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
|
|
|
class AlbumTitleNotifier extends StateNotifier<String> {
|
|
AlbumTitleNotifier() : super("");
|
|
|
|
setAlbumTitle(String title) {
|
|
state = title;
|
|
}
|
|
|
|
clearAlbumTitle() {
|
|
state = "";
|
|
}
|
|
}
|
|
|
|
final albumTitleProvider = StateNotifierProvider<AlbumTitleNotifier, String>(
|
|
(ref) => AlbumTitleNotifier());
|