mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-23 09:16:19 +01:00
16 lines
327 B
Dart
16 lines
327 B
Dart
import 'package:nc_photos/pref.dart';
|
|
|
|
/// Experimental feature flags
|
|
class Lab {
|
|
factory Lab() {
|
|
_inst ??= Lab._();
|
|
return _inst!;
|
|
}
|
|
|
|
bool get enableSharedAlbum => Pref.inst().isLabEnableSharedAlbumOr(false);
|
|
bool get enablePeople => Pref.inst().isLabEnablePeopleOr(false);
|
|
|
|
Lab._();
|
|
|
|
static Lab? _inst;
|
|
}
|