Skip to content

Commit 07a226d

Browse files
committed
Fixed wrong string passed for url and url string.
1 parent 5eb8b9c commit 07a226d

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/main/java/com/stealthcotper/networktools/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
201201
public boolean onOptionsItemSelected(MenuItem item) {
202202
if (item.getItemId() == R.id.action_github) {
203203
Intent i = new Intent(Intent.ACTION_VIEW);
204-
i.setData(Uri.parse(getString(R.string.github_page)));
204+
i.setData(Uri.parse(getString(R.string.github_url)));
205205
startActivity(i);
206206
return true;
207207
} else {

app/src/main/res/values/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
<string name="wol">Wake-On-Lan</string>
77
<string name="port_scan">Port Scan</string>
88
<string name="github_page">Github</string>
9-
<string name="github_url">"https://github.com/stealthcopter/AndroidNetworkTools"</string>
9+
<string name="github_url">https://github.com/stealthcopter/AndroidNetworkTools</string>
1010
</resources>

0 commit comments

Comments
 (0)