File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
commons/src/main/kotlin/org/fossify/commons/activities Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ import androidx.core.app.ActivityCompat
3939import androidx.core.net.toUri
4040import androidx.core.util.Pair
4141import androidx.core.view.ScrollingView
42+ import androidx.core.view.WindowCompat
4243import androidx.core.view.WindowInsetsCompat
4344import androidx.core.view.get
4445import androidx.core.view.size
@@ -198,6 +199,8 @@ abstract class BaseSimpleActivity : AppCompatActivity() {
198199 }
199200
200201 super .onCreate(savedInstanceState)
202+ WindowCompat .enableEdgeToEdge(window)
203+
201204 if (! packageName.startsWith(" org.fossify." , true )) {
202205 if ((0 .. 50 ).random() == 10 || baseConfig.appRunCount % 100 == 0 ) {
203206 val label = " You are using a fake version of the app. For your own safety download the original one from www.fossify.org. Thanks"
You can’t perform that action at this time.
0 commit comments