Skip to content

Commit

Permalink
Removed helper activity, and replaced with redirect to browser
Browse files Browse the repository at this point in the history
  • Loading branch information
ScreamingOranges committed May 10, 2021
1 parent 6499ef0 commit 37845f7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 29 deletions.
4 changes: 0 additions & 4 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
android:screenOrientation="portrait"
android:parentActivityName=".MainActivity">
</activity>
<activity android:name=".HelpActivity"
android:screenOrientation="portrait"
android:parentActivityName=".MainActivity">
</activity>
<activity android:name=".MainActivity"
android:screenOrientation="portrait">
<intent-filter>
Expand Down
14 changes: 0 additions & 14 deletions app/src/main/java/com/example/icuepyphone/HelpActivity.java

This file was deleted.

5 changes: 3 additions & 2 deletions app/src/main/java/com/example/icuepyphone/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.LayerDrawable;
import android.net.Uri;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
Expand Down Expand Up @@ -55,8 +56,8 @@ public boolean onOptionsItemSelected(@NonNull MenuItem item) {
context = getApplicationContext();
switch (item.getItemId()) {
case R.id.help:
Intent help_intent = new Intent(this, HelpActivity.class);
startActivity(help_intent);
Intent intent = new Intent(Intent.ACTION_VIEW).setData(Uri.parse("https://github.com/ScreamingOranges/iCueConnect-Android/blob/master/README.md"));
startActivity(intent);
return true;
case R.id.settings:
Intent pusher_config_intent = new Intent(this, PusherConfigActivity.class);
Expand Down
9 changes: 0 additions & 9 deletions app/src/main/res/layout/activity_help.xml

This file was deleted.

0 comments on commit 37845f7

Please sign in to comment.