mirror of
https://github.com/haorendashu/nowser.git
synced 2025-12-17 01:44:19 +01:00
add website asknostrsite
This commit is contained in:
@@ -574,12 +574,19 @@ class WebAppsRouterState extends CustState<WebAppsRouter> {
|
||||
[WebAppTypes.ZAPS],
|
||||
image: "https://nowser.nostrmo.com/images/apps/npubcash.ico",
|
||||
));
|
||||
items.add(WebAppItem(
|
||||
"https://asknostr.site/",
|
||||
"asknostr",
|
||||
"This website is a Q&A community on top of Nostr.",
|
||||
[WebAppTypes.NOTES],
|
||||
image: "https://nowser.nostrmo.com/images/apps/asknostr_site.png",
|
||||
));
|
||||
|
||||
// List<Map> jsonList = [];
|
||||
// for (var item in items) {
|
||||
// jsonList.add(item.toJson());
|
||||
// }
|
||||
// log(jsonEncode(jsonList));
|
||||
List<Map> jsonList = [];
|
||||
for (var item in items) {
|
||||
jsonList.add(item.toJson());
|
||||
}
|
||||
log(jsonEncode(jsonList));
|
||||
|
||||
// setState(() {});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user