Skip to content

Commit

Permalink
Correct small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
OXINARF committed Jul 2, 2013
1 parent bdcec54 commit 0f60485
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="pt.oxinarf.simnumberchanger"
android:versionCode="2"
android:versionName="1.1" >
android:versionCode="3"
android:versionName="1.2" >

<uses-sdk
android:minSdkVersion="15"
Expand Down
2 changes: 1 addition & 1 deletion src/pt/oxinarf/simnumberchanger/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ protected void onCreate(Bundle savedInstanceState) {

setContentView(R.layout.activity_main);

if(!phone.isEmpty() && !phone.trim().equals("")) {
if(phone != null && !phone.isEmpty() && !phone.trim().equals("")) {
TextView tv = (TextView) findViewById(R.id.actualNumber);
tv.setText(phone);
tv.setTypeface(null, Typeface.NORMAL);
Expand Down

0 comments on commit 0f60485

Please sign in to comment.