mirror of
https://github.com/haorendashu/nowser.git
synced 2025-12-17 01:44:19 +01:00
bugfix
This commit is contained in:
@@ -30,6 +30,7 @@ class _AppDetailPermissionItemComponent
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
s = S.of(context);
|
||||
var permissionText = AuthType.getAuthName(context, widget.authType);
|
||||
if (widget.eventKind != null) {
|
||||
permissionText += " (${s.EventKind} ${widget.eventKind})";
|
||||
|
||||
@@ -51,7 +51,6 @@ class _AppDetailRouter extends State<AppDetailRouter> {
|
||||
if (arg != null && arg is App) {
|
||||
if (app == null || app!.id != arg.id) {
|
||||
app = App.fromJson(arg.toJson());
|
||||
print(app!.name);
|
||||
nameController.text = app!.name ?? "";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user