Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
circles-android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Circles
circles-android
Commits
a32d9f14
Commit
a32d9f14
authored
8 months ago
by
Taras
Browse files
Options
Downloads
Patches
Plain Diff
Add remove email confirmation
parent
bed2c1f2
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
settings/src/main/java/org/futo/circles/settings/model/ConfirmationType.kt
+6
-0
6 additions, 0 deletions
.../java/org/futo/circles/settings/model/ConfirmationType.kt
settings/src/main/res/values/strings.xml
+3
-0
3 additions, 0 deletions
settings/src/main/res/values/strings.xml
with
9 additions
and
0 deletions
settings/src/main/java/org/futo/circles/settings/model/ConfirmationType.kt
+
6
−
0
View file @
a32d9f14
...
...
@@ -27,3 +27,9 @@ data class ResetKeys(
override
val
messageRes
:
Int
=
R
.
string
.
reset_keys_message
,
override
val
positiveButtonRes
:
Int
=
org
.
futo
.
circles
.
auth
.
R
.
string
.
confirm
)
:
ConfirmationType
(
titleRes
,
messageRes
,
positiveButtonRes
)
data class
RemoveEmail
(
override
val
titleRes
:
Int
=
R
.
string
.
remove_email
,
override
val
messageRes
:
Int
=
R
.
string
.
remove_email_confirmation
,
override
val
positiveButtonRes
:
Int
=
org
.
futo
.
circles
.
core
.
R
.
string
.
remove
)
:
ConfirmationType
(
titleRes
,
messageRes
,
positiveButtonRes
)
This diff is collapsed.
Click to expand it.
settings/src/main/res/values/strings.xml
+
3
−
0
View file @
a32d9f14
...
...
@@ -52,5 +52,8 @@
<string
name=
"all_timeline_events_and_data_will_be_visible_in_timeline"
>
All timeline events and data will be visible in timeline
</string>
<string
name=
"email_added"
>
Email added
</string>
<string
name=
"email_removed"
>
Email removed
</string>
<string
name=
"remove_email"
>
Remove email
</string>
<string
name=
"remove_email_confirmation"
>
Are you sure you want to remove this email address? Email is required for account recovery.
</string>
</resources>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment