Skip to content

Commit

Permalink
Merge pull request #77 from fanzru/kae_dev
Browse files Browse the repository at this point in the history
Styling and Null Safety Fix on Mobile
  • Loading branch information
kaenova authored Jun 15, 2022
2 parents 5bdd17f + c9af092 commit b955eb9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions mobile/lib/screen/home/components/tikum/my_tikum.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class _MyTikumState extends State<MyTikum> {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.white,
body: FutureBuilder<SecureProfile>(
future: futureProfile,
builder: (context, snapshot) {
Expand Down
3 changes: 2 additions & 1 deletion mobile/lib/screen/home/components/tikum/mytikum_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ class MyTikumCard extends StatelessWidget {
)
],
),
if (tikum.linkGroup != null)
if (tikum.linkGroup != null &&
Uri.tryParse(tikum.linkGroup!)!.isAbsolute)
ElevatedButton(
style: ButtonStyle(
backgroundColor: MaterialStateProperty.all(Colors.black)),
Expand Down
3 changes: 2 additions & 1 deletion mobile/lib/screen/home/components/tikum/tikum_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ class TikumCard extends StatelessWidget {
)
],
),
if (tikum.linkGroup != null)
if (tikum.linkGroup != null &&
Uri.tryParse(tikum.linkGroup!)!.isAbsolute)
ElevatedButton(
style: ButtonStyle(
backgroundColor: MaterialStateProperty.all(Colors.black)),
Expand Down

0 comments on commit b955eb9

Please sign in to comment.