Loading app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt +9 −0 Changes for app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt: 9 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -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, Loading app/src/main/res/layout/fragment_home.xml +1 −2 Changes for app/src/main/res/layout/fragment_home.xml: 1 added line, 2 removed lines. Original line number Diff line number Diff line Loading @@ -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" Loading Loading
app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt +9 −0 Changes for app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt: 9 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -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, Loading
app/src/main/res/layout/fragment_home.xml +1 −2 Changes for app/src/main/res/layout/fragment_home.xml: 1 added line, 2 removed lines. Original line number Diff line number Diff line Loading @@ -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" Loading