Fix menu
This commit is contained in:
@@ -246,6 +246,7 @@ public class ViewKeyActivity extends BaseActivity implements
|
|||||||
Intent advancedIntent = new Intent(this, ViewKeyAdvActivity.class);
|
Intent advancedIntent = new Intent(this, ViewKeyAdvActivity.class);
|
||||||
advancedIntent.setData(mDataUri);
|
advancedIntent.setData(mDataUri);
|
||||||
startActivity(advancedIntent);
|
startActivity(advancedIntent);
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
case R.id.menu_key_view_refresh: {
|
case R.id.menu_key_view_refresh: {
|
||||||
try {
|
try {
|
||||||
@@ -253,6 +254,7 @@ public class ViewKeyActivity extends BaseActivity implements
|
|||||||
} catch (ProviderHelper.NotFoundException e) {
|
} catch (ProviderHelper.NotFoundException e) {
|
||||||
Notify.showNotify(this, R.string.error_key_not_found, Notify.Style.ERROR);
|
Notify.showNotify(this, R.string.error_key_not_found, Notify.Style.ERROR);
|
||||||
}
|
}
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (ProviderHelper.NotFoundException e) {
|
} catch (ProviderHelper.NotFoundException e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user