Skip to content

Commit 111c3d8

Browse files
authored
Remove the date check for the Gemini in AS notification (#8191)
1 parent fc5b68a commit 111c3d8

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

flutter-idea/src/io/flutter/FlutterInitializer.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
import io.flutter.view.InspectorViewFactory;
5656
import org.jetbrains.annotations.NotNull;
5757

58-
import java.time.LocalDate;
5958
import java.util.List;
6059
import java.util.concurrent.ExecutionException;
6160
import java.util.concurrent.Executors;
@@ -333,12 +332,7 @@ private void showAndroidStudioBotNotification(@NotNull Project project) {
333332

334333
// Return if notification has been shown already
335334
final FlutterSettings settings = FlutterSettings.getInstance();
336-
if (settings == null || settings.isAndroidStudioBotAcknowledged()) return;
337-
338-
// Return if the current date is not after May 16th, 2025
339-
LocalDate targetLocalDate = LocalDate.of(2025, 5, 16);
340-
LocalDate nowLocalDate = LocalDate.now();
341-
if (nowLocalDate.isBefore(targetLocalDate)) return;
335+
if (settings.isAndroidStudioBotAcknowledged()) return;
342336

343337
ApplicationManager.getApplication().invokeLater(() -> {
344338
//noinspection DialogTitleCapitalization

0 commit comments

Comments
 (0)