Skip to content

Commit

Permalink
Merge pull request #765 from j-fbriere/ca/fix_fritter_recent_screen
Browse files Browse the repository at this point in the history
Fix the black screen when app is in recent screen mode.
  • Loading branch information
jonjomckay authored Jul 26, 2023
2 parents 638cd02 + 1f309de commit a42e370
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,13 @@ package com.jonjomckay.fritter
import io.flutter.embedding.android.FlutterActivity

class MainActivity: FlutterActivity() {

protected override fun onPause() {
super.onPause()
try {
java.lang.Thread.sleep(200)
} catch (e: InterruptedException) {
e.printStackTrace()
}
}
}

0 comments on commit a42e370

Please sign in to comment.