mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-13 20:23:16 +00:00
bf79fb1adf
- Delete SSH generation leftovers - Migrate users box to an encrypted box
21 lines
562 B
Dart
21 lines
562 B
Dart
part of 'app_settings_cubit.dart';
|
|
|
|
class AppSettingsState extends Equatable {
|
|
const AppSettingsState({
|
|
required this.isDarkModeOn,
|
|
required this.isOnboardingShowing,
|
|
});
|
|
|
|
final bool isDarkModeOn;
|
|
final bool isOnboardingShowing;
|
|
|
|
AppSettingsState copyWith({isDarkModeOn, isOnboardingShowing}) =>
|
|
AppSettingsState(
|
|
isDarkModeOn: isDarkModeOn ?? this.isDarkModeOn,
|
|
isOnboardingShowing: isOnboardingShowing ?? this.isOnboardingShowing,
|
|
);
|
|
|
|
@override
|
|
List<Object> get props => [isDarkModeOn, isOnboardingShowing];
|
|
}
|