Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

345 B
Raw Blame
import 'package:flutter/foundation.dart';

const _skipGuidance = bool.fromEnvironment('ENTE_AUTH_SKIP_GUIDANCE');
const _allowScreenCapture = bool.fromEnvironment(
  'ENTE_AUTH_ALLOW_SCREEN_CAPTURE',
);

bool get shouldSkipAuthGuidance => kDebugMode && _skipGuidance;

bool get shouldAllowAuthScreenCapture => kDebugMode && _allowScreenCapture;