(fix) felhős projekthez csak bejelentkezés után lehet csatlakozni, név megjelenítése a kapcsolatok mellett a terepbejárás nézetben.
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6s
This commit is contained in:
@@ -184,8 +184,15 @@ class _ProjectTileState extends State<_ProjectTile> {
|
||||
],
|
||||
),
|
||||
onTap: () async {
|
||||
await svc.setActiveProject(project);
|
||||
Get.back();
|
||||
try {
|
||||
await svc.setActiveProject(project);
|
||||
Get.back();
|
||||
} catch (e) {
|
||||
Get.snackbar('Nem lehet aktiválni', e.toString(),
|
||||
snackPosition: SnackPosition.BOTTOM,
|
||||
backgroundColor: Colors.red,
|
||||
colorText: Colors.white);
|
||||
}
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user