nc-photos/lib/lab.dart
2021-08-09 04:42:25 +08:00

17 lines
291 B
Dart

import 'package:nc_photos/pref.dart';
/// Experimental feature flags
class Lab {
factory Lab() {
if (_inst == null) {
_inst = Lab._();
}
return _inst!;
}
bool get enableSharedAlbum => Pref.inst().isLabEnableSharedAlbumOr(false);
Lab._();
static Lab? _inst;
}