]> gitweb.stoutner.com Git - PrivacyCell.git/blobdiff - app/src/main/java/com/stoutner/privacycell/activities/PrivacyCell.kt
Fix a few typos.
[PrivacyCell.git] / app / src / main / java / com / stoutner / privacycell / activities / PrivacyCell.kt
index 84d8db663003a6d8e312cd1083583fa5e083611e..31f610d11a9128f6def474014350aca2db6eea69 100644 (file)
@@ -14,7 +14,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with Privacy Browser.  If not, see <http://www.gnu.org/licenses/>.
+ * along with Privacy Cell.  If not, see <http://www.gnu.org/licenses/>.
  */
 
 package com.stoutner.privacycell.activities
@@ -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) {