File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
java/com/flowcrypt/email/js Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 39053905( function ( /* EXTENSIONS AND CONFIG */ ) {
39063906
39073907 if ( typeof window . openpgp !== 'undefined' && typeof window . openpgp . config !== 'undefined' && typeof window . openpgp . config . versionstring !== 'undefined' && typeof window . openpgp . config . commentstring !== 'undefined' ) {
3908- window . openpgp . config . versionstring = 'CryptUp ' + ( catcher . version ( ) || '' ) + ' Gmail Encryption https://cryptup.org ' ;
3908+ window . openpgp . config . versionstring = 'FlowCrypt ' + ( catcher . version ( ) || '' ) + ' Email Encryption: flowcrypt.com ' ;
39093909 window . openpgp . config . commentstring = 'Seamlessly send, receive and search encrypted email' ;
39103910 }
39113911
Original file line number Diff line number Diff line change 77package com .flowcrypt .email .js ;
88
99import android .content .Context ;
10+ import com .flowcrypt .email .BuildConfig ;
1011import android .os .Build ;
1112import android .text .Html ;
1213import android .text .TextUtils ;
@@ -304,7 +305,7 @@ private void bindJavaMethods() {
304305 }
305306
306307 private V8Object loadJavascriptCode () throws IOException {
307- v8 .executeScript ("var engine_host_version = 'Android 0.1 ';" );
308+ v8 .executeScript ("var engine_host_version = 'Android " + BuildConfig . VERSION_NAME . split ( "_" )[ 0 ] + " ';" );
308309 v8 .executeScript (read (context .getAssets ().open ("js/window.js" )));
309310 v8 .executeScript (read (context .getAssets ().open ("js/openpgp.js" )));
310311 v8 .executeScript (read (context .getAssets ().open ("js/emailjs/punycode.js" )));
You can’t perform that action at this time.
0 commit comments