mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
7a923659d1
# Conflicts: # mobile/lib/presentation/widgets/asset_viewer/asset_page.widget.dart
16 lines
350 B
Dart
16 lines
350 B
Dart
import 'package:hooks_riverpod/legacy.dart';
|
|
|
|
class AlbumTitleNotifier extends StateNotifier<String> {
|
|
AlbumTitleNotifier() : super("");
|
|
|
|
setAlbumTitle(String title) {
|
|
state = title;
|
|
}
|
|
|
|
clearAlbumTitle() {
|
|
state = "";
|
|
}
|
|
}
|
|
|
|
final albumTitleProvider = StateNotifierProvider<AlbumTitleNotifier, String>((ref) => AlbumTitleNotifier());
|