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