change title of lock icon when changing encryption
This commit is contained in:
		
							parent
							
								
									97fe9fa01f
								
							
						
					
					
						commit
						2de8f3d35b
					
				|  | @ -112,16 +112,16 @@ public class ConversationMenuConfigurator { | |||
| 		none.setVisible(Config.supportUnencrypted() || conversation.getMode() == Conversation.MODE_MULTI); | ||||
| 		axolotl.setVisible(Config.supportOmemo()); | ||||
| 		switch (conversation.getNextEncryption()) { | ||||
| 			case Message.ENCRYPTION_NONE: | ||||
| 				none.setChecked(true); | ||||
| 				break; | ||||
| 			case Message.ENCRYPTION_PGP: | ||||
| 				menuSecure.setTitle(R.string.encrypted_with_openpgp); | ||||
| 				pgp.setChecked(true); | ||||
| 				break; | ||||
| 			case Message.ENCRYPTION_AXOLOTL: | ||||
| 				menuSecure.setTitle(R.string.encrypted_with_omemo); | ||||
| 				axolotl.setChecked(true); | ||||
| 				break; | ||||
| 			default: | ||||
| 				menuSecure.setTitle(R.string.not_encrypted); | ||||
| 				none.setChecked(true); | ||||
| 				break; | ||||
| 		} | ||||
|  |  | |||
|  | @ -8,7 +8,6 @@ | |||
|     <string name="action_contact_details">Contact details</string> | ||||
|     <string name="action_muc_details">Group chat details</string> | ||||
|     <string name="channel_details">Channel details</string> | ||||
|     <string name="action_secure">Secure conversation</string> | ||||
|     <string name="action_add_account">Add account</string> | ||||
|     <string name="action_edit_contact">Edit name</string> | ||||
|     <string name="action_add_phone_book">Add to address book</string> | ||||
|  | @ -931,6 +930,9 @@ | |||
|     <string name="search_this_conversation">This conversation</string> | ||||
|     <string name="your_avatar">Your avatar</string> | ||||
|     <string name="avatar_for_x">Avatar for %s</string> | ||||
|     <string name="encrypted_with_omemo">Encrypted with OMEMO</string> | ||||
|     <string name="encrypted_with_openpgp">Encrypted with OpenPGP</string> | ||||
|     <string name="not_encrypted">Not encrypted</string> | ||||
|     <plurals name="view_users"> | ||||
|         <item quantity="one">View %1$d Participant</item> | ||||
|         <item quantity="other">View %1$d Participants</item> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Daniel Gultsch
						Daniel Gultsch