From: Soren Stoutner Date: Wed, 25 Aug 2021 22:16:28 +0000 (-0700) Subject: Release 1.0. X-Git-Tag: v1.0 X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyCell.git;a=commitdiff_plain;h=13c6fd95ce6986c052fed7918576b77619dc9c2a;ds=inline Release 1.0. --- diff --git a/app/src/main/assets/en/contributors.html b/app/src/main/assets/en/contributors.html index ce9c140..d443d03 100644 --- a/app/src/main/assets/en/contributors.html +++ b/app/src/main/assets/en/contributors.html @@ -28,7 +28,7 @@

Principal Developer

-

Privacy Browser is primarily developed by Soren Stoutner.

+

Privacy Cell is primarily developed by Soren Stoutner.

Translators

diff --git a/app/src/main/java/com/stoutner/privacycell/activities/PrivacyCell.kt b/app/src/main/java/com/stoutner/privacycell/activities/PrivacyCell.kt index 84d8db6..c85c403 100644 --- a/app/src/main/java/com/stoutner/privacycell/activities/PrivacyCell.kt +++ b/app/src/main/java/com/stoutner/privacycell/activities/PrivacyCell.kt @@ -314,17 +314,17 @@ class PrivacyCell : AppCompatActivity(), NavigationView.OnNavigationItemSelected // Set the text color. secureFromStingrayTextView.setTextColor(getColor(R.color.red_text)) + } - // Get the strings that correspond to the network information. - val dataNetworkType = getNetworkType(telephonyDisplayInfo.networkType) - val additionalNetworkInfo = getAdditionalNetworkInfo(telephonyDisplayInfo.overrideNetworkType) + // Get the strings that correspond to the network information. + val dataNetworkType = getNetworkType(telephonyDisplayInfo.networkType) + val additionalNetworkInfo = getAdditionalNetworkInfo(telephonyDisplayInfo.overrideNetworkType) - // Populate the data network text views. - dataNetworkTextView.text = getString(R.string.data_network, dataNetworkType[0]) - dataNetworkDetailsTextView.text = dataNetworkType[1] - additionalNetworkInfoTextView.text = getString(R.string.additional_network_info, additionalNetworkInfo[0]) - additionalNetworkInfoDetailsTextView.text = additionalNetworkInfo[1] - } + // Populate the data network text views. + dataNetworkTextView.text = getString(R.string.data_network, dataNetworkType[0]) + dataNetworkDetailsTextView.text = dataNetworkType[1] + additionalNetworkInfoTextView.text = getString(R.string.additional_network_info, additionalNetworkInfo[0]) + additionalNetworkInfoDetailsTextView.text = additionalNetworkInfo[1] } override fun onServiceStateChanged(serviceState: ServiceState) { diff --git a/app/src/main/res/layout/privacy_cell_drawerlayout.xml b/app/src/main/res/layout/privacy_cell_drawerlayout.xml index ae018c2..fe3ce2f 100644 --- a/app/src/main/res/layout/privacy_cell_drawerlayout.xml +++ b/app/src/main/res/layout/privacy_cell_drawerlayout.xml @@ -52,11 +52,11 @@ + android:layout_width="match_parent" > @@ -68,7 +68,8 @@ android:layout_gravity="center_horizontal" tools:ignore="ContentDescription" /> - + + android:textStyle="bold" + android:text="@string/not_connected" /> en Open navigation drawer Close navigation drawer + Your device does not appear to currently be connected to a cell phone network.