Skip to content

Commit b840fd1

Browse files
authored
Change embedded browser setting (#5561)
1 parent 182965d commit b840fd1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/io/flutter/settings/FlutterSettings.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class FlutterSettings {
3838

3939
// TODO(helin24): This is to change the embedded browser setting back to true only once for Big Sur users. If we
4040
// switch to enabling the embedded browser for everyone, then delete this key.
41-
private static final String changeBigSurToTrueKey = "io.flutter.setBigSurToTrueKey";
41+
private static final String changeBigSurToTrueKey = "io.flutter.setBigSurToTrueKey2";
4242

4343
/**
4444
* Registry key to suggest all run configurations instead of just one.
@@ -312,6 +312,7 @@ public boolean isEnableEmbeddedBrowsers() {
312312

313313
// We do not want to set it back to true again in the future (e.g. if a user decides to set to false).
314314
setChangeBigSurToTrue(false);
315+
setEnableEmbeddedBrowsers(true);
315316
return true;
316317
}
317318

0 commit comments

Comments
 (0)