Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
fenix
Commits
5b768f33
Unverified
Commit
5b768f33
authored
Oct 19, 2020
by
Matthew Finkel
Browse files
Merge remote-tracking branch 'acatgl/40076' into tor-browser-82.0.0b4-10.0-1
parents
77e2f0c7
4666fc3c
Pipeline
#1400
failed with stages
in 9 minutes and 44 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt
View file @
5b768f33
...
...
@@ -192,6 +192,15 @@ class HomeFragment : Fragment() {
val
activity
=
activity
as
HomeActivity
val
components
=
requireComponents
// Splits by full stops or commas and puts the parts in different lines.
// Ignoring separators at the end of the string, it is expected
// that there are at most two parts (e.g. "Explore. Privately.").
view
.
exploreprivately
.
text
=
view
.
exploreprivately
.
text
?.
replace
(
" *([.,。।]) *"
.
toRegex
(),
"$1\n"
)
?.
trim
()
currentMode
=
CurrentMode
(
view
.
context
,
onboarding
,
...
...
app/src/main/res/layout/fragment_home.xml
View file @
5b768f33
...
...
@@ -84,8 +84,7 @@
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center|center_vertical"
android:width=
"199dp"
android:height=
"110dp"
android:gravity=
"center_horizontal"
android:clickable=
"false"
android:ellipsize=
"end"
android:focusable=
"false"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment