Browse Source

fix online UI

pull/18/head
Sun 4 years ago
parent
commit
1582716976
  1. 2
      lib/account.dart
  2. 12
      lib/global.dart

2
lib/account.dart

@ -65,7 +65,7 @@ class Account {
width: width, width: width,
name: this.name, name: this.name,
avatar: this.avatar, avatar: this.avatar,
online: true, online: needOnline,
onlineColor: this.online ? const Color(0xFF0EE50A) : const Color(0xFFEDEDED), onlineColor: this.online ? const Color(0xFF0EE50A) : const Color(0xFFEDEDED),
hasNew: this.hasNew, hasNew: this.hasNew,
); );

12
lib/global.dart

@ -1,11 +1,11 @@
class Global { class Global {
static String gid = "0000000000000000000000000000000000000000000000000000000000000000"; static String gid = "0000000000000000000000000000000000000000000000000000000000000000";
//static String httpRpc = '127.0.0.1:8000'; static String httpRpc = '127.0.0.1:8000';
//static String wsRpc = '127.0.0.1:8080'; static String wsRpc = '127.0.0.1:8080';
static String httpRpc = '192.168.2.148:8001'; //static String httpRpc = '192.168.2.148:8001'; // test code
static String wsRpc = '192.168.2.148:8081'; //static String wsRpc = '192.168.2.148:8081'; // test code
//static String httpRpc = '192.168.50.250:8001'; //static String httpRpc = '192.168.50.250:8001'; // test code
//static String wsRpc = '192.168.50.250:8081'; //static String wsRpc = '192.168.50.250:8081'; // test code
static String optionCache = 'option'; static String optionCache = 'option';
static String addr = '0x'; static String addr = '0x';

Loading…
Cancel
Save