feat: remove unused debug button

This commit is contained in:
aro 2022-11-27 20:40:40 +01:00
parent ace8974d3b
commit c60a36204a
2 changed files with 9 additions and 28 deletions

View file

@ -1,20 +1,17 @@
package xyz.atnrch.wrench.components.top
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.layout.width
import androidx.compose.material.*
import androidx.compose.material.Icon
import androidx.compose.material.Text
import androidx.compose.material.TopAppBar
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Build
import androidx.compose.material.icons.filled.Star
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.shadow
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.RectangleShape
import androidx.compose.ui.unit.dp
import xyz.atnrch.wrench.logger.Logger
import xyz.atnrch.wrench.ui.Fonts
import xyz.atnrch.wrench.ui.UIColors
@ -36,26 +33,6 @@ fun TopBar() {
text = "Wrench",
fontFamily = Fonts.JOST_MEDIUM
)
},
actions = {
//.............
// Debug Button
//.............
Button(
{ Logger.debug("Empty.") },
colors = ButtonDefaults.buttonColors(UIColors.STRESS, Color.White),
shape = RectangleShape,
modifier = Modifier
.width(50.dp)
.shadow(20.dp, RectangleShape, true)
) {
Icon(
Icons.Filled.Star,
tint = Color.White,
contentDescription = "Debug Settings",
modifier = Modifier.size(24.dp).fillMaxSize()
)
}
Spacer(Modifier.width(10.dp))
})
}
)
}

View file

@ -0,0 +1,4 @@
package xyz.atnrch.wrench.compose
class SnackBarDataHolder {
}