mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-18 10:52:34 +01:00
Merge branch 'soru/fix-no-screenshot' into 'main'
fix: Allow screenshots again See merge request famedly/fluffychat!385
This commit is contained in:
commit
98c0f94d35
@ -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 New Issue
Block a user