fix: Allow screenshots again

This commit is contained in:
Sorunome 2021-02-21 12:06:14 +01:00
parent 99dd2dac71
commit 6258b6a1f9
No known key found for this signature in database
GPG Key ID: B19471D07FC9BE9C

View File

@ -11,10 +11,6 @@ import android.view.WindowManager
class MainActivity : FlutterActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
if (!BuildConfig.DEBUG) {
window.setFlags(WindowManager.LayoutParams.FLAG_SECURE,
WindowManager.LayoutParams.FLAG_SECURE)
}
};
override fun provideFlutterEngine(context: Context): FlutterEngine? {