ソースを参照

fix: 调整UI

Tony 1 ヶ月 前
コミット
b665b39e89

+ 5 - 5
deploy/windows/setup.iss

@@ -1,12 +1,12 @@
 ; Script generated by the Inno Setup Script Wizard.
 ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
 
-#define MyAppName "Nomo"
+#define MyAppName "Nomo VPN"
 #define MyAppVersion "1.0.0"
-#define MyAppPublisher "Nomo"
-#define MyAppURL "https://nomo.io/"
+#define MyAppPublisher "Nomo VPN"
+#define MyAppURL "https://nomovpn.io/"
 #define MyAppExeName "ixvpn.exe"
-#define MyAppSetupName "nomo_1.0.0_1"
+#define MyAppSetupName "nomo_vpn_1.0.0_1"
 
 #ifndef MyWorkingDir
 #define MyWorkingDir "D:\Workspace\nomo\deploy\windows"
@@ -41,7 +41,7 @@ ArchitecturesInstallIn64BitMode=x64compatible
 WizardBackImageFile=back_image_light.png
 WizardBackImageOpacity=150
 
-WizardImageFile=
+;WizardImageFile=
 WizardSmallImageFile=
 
 [Languages]

+ 1 - 1
lib/app/controllers/core_controller.dart

@@ -432,7 +432,7 @@ class CoreController extends GetxService {
   }
 
   void _handleTimerUpdate(TimerUpdateMessage message) {
-    log(TAG, '计时更新: time=${message.currentTime}, mode=${message.mode}');
+    //log(TAG, '计时更新: time=${message.currentTime}, mode=${message.mode}');
     timer = _formatTime(message.currentTime);
   }
 

+ 1 - 1
lib/app/modules/account/views/account_view.dart

@@ -397,7 +397,7 @@ class AccountView extends BaseView<AccountController> {
               iconColor: Get.reactiveTheme.shadowColor,
               title: _getUserAccount().isNotEmpty
                   ? _getUserAccount()
-                  : Strings.account.tr,
+                  : Strings.currentUser.tr,
               trailing: Row(
                 mainAxisSize: MainAxisSize.min,
                 children: [

+ 1 - 2
lib/app/modules/setting/views/setting_view.dart

@@ -25,7 +25,6 @@ import '../../../components/ix_snackbar.dart';
 import '../../../constants/iconfont/iconfont.dart';
 import '../../../routes/app_pages.dart';
 import '../../../widgets/ix_app_bar.dart';
-import '../../../widgets/triple_tap_detector.dart';
 import '../controllers/setting_controller.dart';
 
 class SettingView extends BaseView<SettingController> {
@@ -133,7 +132,7 @@ class SettingView extends BaseView<SettingController> {
                   iconColor: Get.reactiveTheme.shadowColor,
                   title: _getUserAccount().isNotEmpty
                       ? _getUserAccount()
-                      : Strings.account.tr,
+                      : Strings.currentUser.tr,
                   trailing: Row(
                     children: [
                       IXImage(

+ 2 - 1
lib/config/translations/en_US/en_us_translation.dart

@@ -46,7 +46,8 @@ Map<String, String> enUs = {
   Strings.termsAgreementConnector: ' and ',
 
   // Account page
-  Strings.account: 'Current Identity',
+  Strings.account: 'Account',
+  Strings.currentUser: 'Current Identity',
 
   // Dialog texts
   Strings.processing: 'Processing...',

+ 2 - 0
lib/config/translations/strings_enum.dart

@@ -40,6 +40,8 @@ class Strings {
   // 忘记密码
   // Account page
   static const String account = 'Account';
+  static const String currentUser = 'Current Identity';
+
   // Dialog texts
   static const String processing = 'Processing...';
   static const String success = 'Success';

+ 2 - 1
lib/config/translations/zh_CN/zh_cn_translation.dart

@@ -40,7 +40,8 @@ Map<String, String> zhCN = {
   Strings.termsAgreementConnector: '和',
 
   // Account page
-  Strings.account: '当前身份',
+  Strings.account: '账户',
+  Strings.currentUser: '当前身份',
 
   // Dialog texts
   Strings.processing: '处理中...',