mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-20 17:16:29 +08:00
mod: account (#989)
This commit is contained in:
committed by
GitHub
parent
dc61d9007f
commit
e7f27e4913
@@ -698,9 +698,10 @@ class LoginPageController extends GetxController
|
||||
}
|
||||
}
|
||||
|
||||
static Future<void> switchAccountDialog(BuildContext context) {
|
||||
static Future<void>? switchAccountDialog(BuildContext context) {
|
||||
if (Accounts.account.isEmpty) {
|
||||
return SmartDialog.showToast('请先登录');
|
||||
SmartDialog.showToast('请先登录');
|
||||
return Get.toNamed('/loginPage');
|
||||
}
|
||||
final selectAccount = Map.of(Accounts.accountMode);
|
||||
final options = {
|
||||
|
||||
Reference in New Issue
Block a user