mirror of
				https://gitlab.com/famedly/fluffychat.git
				synced 2025-11-04 06:17:26 +01:00 
			
		
		
		
	fix: Allow screenshots again
This commit is contained in:
		
							parent
							
								
									99dd2dac71
								
							
						
					
					
						commit
						6258b6a1f9
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user