Skip to content

Commit

Permalink
Updated 'Look Up Event' button to a magnifying glass icon and moved i…
Browse files Browse the repository at this point in the history
…t to the right
  • Loading branch information
Othmane Bencheqroun authored and Othmane Bencheqroun committed Oct 15, 2024
1 parent cdb4a61 commit 9b78ee6
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import androidx.compose.foundation.lazy.*
import androidx.compose.foundation.lazy.grid.*
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.foundation.text.BasicText
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Search
import androidx.compose.material3.*
import androidx.compose.runtime.*
import androidx.compose.ui.*
Expand Down Expand Up @@ -40,7 +42,14 @@ fun CalendarScreen(

Spacer(modifier = Modifier.height(16.dp))

Button(onClick = { showDialog = true }) { Text("Look Up Event") }
Row(
modifier = Modifier.fillMaxWidth(),
horizontalArrangement = Arrangement.End
) {
IconButton(onClick = { showDialog = true }) {
Icon(imageVector = Icons.Default.Search, contentDescription = "Look Up Event")
}
}

Spacer(modifier = Modifier.height(16.dp))

Expand Down

0 comments on commit 9b78ee6

Please sign in to comment.