Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fenix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This project is archived. Its data is
read-only
.
Show more breadcrumbs
The Tor Project
Applications
fenix
Commits
5b768f33
Unverified
Commit
5b768f33
authored
Oct 19, 2020
by
Matthew Finkel
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'acatgl/40076' into tor-browser-82.0.0b4-10.0-1
parents
77e2f0c7
4666fc3c
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!54
fixup! Bug 40028: Implement new home screen
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt
+9
-0
9 additions, 0 deletions
app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt
app/src/main/res/layout/fragment_home.xml
+1
-2
1 addition, 2 deletions
app/src/main/res/layout/fragment_home.xml
with
10 additions
and
2 deletions
app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt
+
9
−
0
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
,
...
...
...
...
This diff is collapsed.
Click to expand it.
app/src/main/res/layout/fragment_home.xml
+
1
−
2
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"
...
...
...
...
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
sign in
to comment