Fix floating action
This commit is contained in:
+1
-6
@@ -44,7 +44,6 @@ import androidx.compose.material.icons.filled.Settings
|
||||
import androidx.compose.material3.Card
|
||||
import androidx.compose.material3.CardDefaults
|
||||
import androidx.compose.material3.ExperimentalMaterial3Api
|
||||
import androidx.compose.material3.FloatingActionButton
|
||||
import androidx.compose.material3.HorizontalDivider
|
||||
import androidx.compose.material3.Icon
|
||||
import androidx.compose.material3.IconButton
|
||||
@@ -185,11 +184,7 @@ fun ChessLobbyScreen(
|
||||
)
|
||||
},
|
||||
floatingActionButton = {
|
||||
FloatingActionButton(
|
||||
onClick = { showNewGameDialog = true },
|
||||
) {
|
||||
Icon(Icons.Default.Add, contentDescription = stringRes(R.string.chess_new_game))
|
||||
}
|
||||
NewChessGameButton { showNewGameDialog = true }
|
||||
},
|
||||
) { paddingValues ->
|
||||
PullToRefreshBox(
|
||||
|
||||
Reference in New Issue
Block a user