|
|
@@ -9,6 +9,7 @@ import 'package:keyboard/module/about/about_page.dart';
|
|
|
import 'package:keyboard/module/feedback/feedback_page.dart';
|
|
|
import 'package:keyboard/module/store/discount/discount_view.dart';
|
|
|
|
|
|
+import '../../data/consts/build_config.dart';
|
|
|
import '../../data/consts/error_code.dart';
|
|
|
import '../../data/repository/account_repository.dart';
|
|
|
import '../../plugins/keyboard_android_platform.dart';
|
|
|
@@ -43,8 +44,13 @@ class MineController extends BaseController {
|
|
|
clickVip() {
|
|
|
debugPrint('clickVip');
|
|
|
StorePage.start();
|
|
|
- // KeyboardAndroidPlatform.getInstance().enableFloatingWindow(true);
|
|
|
- // KeyboardAndroidPlatform.getInstance().openInputMethodSettings();
|
|
|
+ }
|
|
|
+
|
|
|
+ longClickVip() {
|
|
|
+ if (BuildConfig.isDebug) {
|
|
|
+ KeyboardAndroidPlatform.getInstance().enableFloatingWindow(true);
|
|
|
+ KeyboardAndroidPlatform.getInstance().openInputMethodSettings();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
clickOnlineCustomerService() {
|