Merge branch 'master' into 'master'

Change title and remove refresh action from repo management screen

See merge request !517
This commit is contained in:
Peter Serwylo 2017-05-15 21:57:04 +00:00
commit 6002a97a03
3 changed files with 1 additions and 9 deletions

View File

@ -143,7 +143,7 @@
android:theme="@style/AppThemeTransparent" />
<activity
android:name=".views.ManageReposActivity"
android:label="@string/app_name"
android:label="@string/menu_manage"
android:launchMode="singleTask"
android:parentActivityName=".views.main.MainActivity"
android:configChanges="layoutDirection|locale" >

View File

@ -150,9 +150,6 @@ public class ManageReposActivity extends AppCompatActivity implements LoaderMana
case R.id.action_add_repo:
showAddRepo();
return true;
case R.id.action_update_repo:
UpdateService.updateNow(this);
return true;
}
return super.onOptionsItemSelected(item);
}

View File

@ -2,11 +2,6 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" >
<item
android:id="@+id/action_update_repo"
android:icon="@drawable/ic_refresh_white"
android:title="@string/menu_update_repo"
app:showAsAction="ifRoom|withText"/>
<item
android:id="@+id/action_add_repo"
android:icon="@drawable/ic_add_white"