mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
97100a4362
* refactor: app metadata * refactor to per row store * cleanup * more test * review changes * more refactor * refactor --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
19 lines
492 B
Dart
19 lines
492 B
Dart
import 'package:immich_mobile/domain/models/config/theme_config.dart';
|
|
|
|
class AppConfig {
|
|
final ThemeConfig theme;
|
|
|
|
const AppConfig({this.theme = const ThemeConfig()});
|
|
|
|
AppConfig copyWith({ThemeConfig? theme}) => .new(theme: theme ?? this.theme);
|
|
|
|
@override
|
|
bool operator ==(Object other) => identical(this, other) || (other is AppConfig && other.theme == theme);
|
|
|
|
@override
|
|
int get hashCode => theme.hashCode;
|
|
|
|
@override
|
|
String toString() => 'AppConfig(theme: $theme)';
|
|
}
|