@@ -456,40 +456,10 @@ fun ContentView(
456456 )
457457
458458 if (showTabBar) {
459- // TODO DONT COMMIT
460459 TabBar (
461- onSendClick = { appViewModel.toast(
462- Toast (
463- type = Toast .ToastType .SUCCESS ,
464- title = " You're Back Online!" ,
465- description = " Successfully reconnected to the Internet." ,
466- autoHide = true ,
467- )
468- ) },
469- onReceiveClick = { appViewModel.toast(
470- Toast (
471- type = Toast .ToastType .INFO ,
472- title = " General Message" ,
473- description = " Used for neutral content to inform the user." ,
474- autoHide = false ,
475- )
476- ) },
477- onScanClick = {
478- appViewModel.toast(
479- Toast (
480- type = Toast .ToastType .SUCCESS ,
481- title = " You're Back Online!" ,
482- description = " success message 2" ,
483- autoHide = true ,
484- )
485- // Toast(
486- // type = Toast.ToastType.WARNING,
487- // title = "Warning title",
488- // description = "warning body",
489- // autoHide = true,
490- // )
491- )
492- },
460+ onSendClick = { appViewModel.showSheet(Sheet .Send ()) },
461+ onReceiveClick = { appViewModel.showSheet(Sheet .Receive ) },
462+ onScanClick = { navController.navigateToScanner() },
493463 modifier = Modifier .align(Alignment .BottomCenter )
494464 )
495465 }
0 commit comments