mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-17 17:39:41 +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() {
|
||||
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? {
|
||||
|
Loading…
Reference in New Issue
Block a user