nc-photos/lib/lab.dart
2021-09-16 18:58:28 +08:00

15 lines
260 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);
Lab._();
static Lab? _inst;
}