kopia lustrzana https://github.com/ryukoposting/Signal-Android
Putting this functionality in the hands of the user was a bad idea.
rodzic
18f3314cd2
commit
6b5753337c
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<item android:title="@string/local_identity__regenerate_key"
|
<!--<item android:title="@string/local_identity__regenerate_key"-->
|
||||||
android:id="@+id/menu_regenerate_key"
|
<!--android:id="@+id/menu_regenerate_key"-->
|
||||||
android:icon="@drawable/refresh"/>
|
<!--android:icon="@drawable/refresh"/>-->
|
||||||
</menu>
|
</menu>
|
|
@ -65,7 +65,7 @@ public class ViewLocalIdentityActivity extends ViewIdentityActivity {
|
||||||
super.onOptionsItemSelected(item);
|
super.onOptionsItemSelected(item);
|
||||||
|
|
||||||
switch (item.getItemId()) {
|
switch (item.getItemId()) {
|
||||||
case R.id.menu_regenerate_key: promptToRegenerateIdentityKey(); return true;
|
// case R.id.menu_regenerate_key: promptToRegenerateIdentityKey(); return true;
|
||||||
case android.R.id.home: finish(); return true;
|
case android.R.id.home: finish(); return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue