mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 09:05:10 +00:00
fix: Allow screenshots again
This commit is contained in:
parent
cd68c06ac9
commit
7f670b3fb1
1 changed files with 0 additions and 4 deletions
|
@ -11,10 +11,6 @@ import android.view.WindowManager
|
||||||
class MainActivity : FlutterActivity() {
|
class MainActivity : FlutterActivity() {
|
||||||
override fun onCreate(savedInstanceState: Bundle?) {
|
override fun onCreate(savedInstanceState: Bundle?) {
|
||||||
super.onCreate(savedInstanceState)
|
super.onCreate(savedInstanceState)
|
||||||
if (!BuildConfig.DEBUG) {
|
|
||||||
window.setFlags(WindowManager.LayoutParams.FLAG_SECURE,
|
|
||||||
WindowManager.LayoutParams.FLAG_SECURE)
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
override fun provideFlutterEngine(context: Context): FlutterEngine? {
|
override fun provideFlutterEngine(context: Context): FlutterEngine? {
|
||||||
|
|
Loading…
Reference in a new issue