From 5710af676765b2949ab64eb55c78afc81974a1e6 Mon Sep 17 00:00:00 2001 From: Tung Wu Date: Tue, 4 Aug 2026 16:38:13 +0800 Subject: [PATCH] Deprecate SettingsPage.identity Direct users to SettingsPage.settings for listing identities, and to changeEmail/changePhone-style methods for changing them, without breaking existing usage. Co-Authored-By: Claude Sonnet 5 --- lib/src/type.dart | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/src/type.dart b/lib/src/type.dart index 425f4b1..0820498 100644 --- a/lib/src/type.dart +++ b/lib/src/type.dart @@ -30,7 +30,14 @@ extension PromptOptionExtension on PromptOption { enum AuthenticationPage { login, signup } -enum SettingsPage { settings, identity } +enum SettingsPage { + settings, + @Deprecated( + "Use SettingsPage.settings to see a list of identities instead. " + "To change an identity, use methods like changeEmail / changePhone.", + ) + identity, +} enum ColorScheme { light, dark }