refactor: dead code removed

This commit is contained in:
Jack Wills
2024-11-19 08:27:45 +00:00
parent 0c6f53228f
commit 5ee48d5708
2 changed files with 1 additions and 20 deletions
-18
View File
@@ -1,18 +0,0 @@
#!/bin/sh
# Used in Docker build to set platform dependent variables
case $TARGETARCH in
"amd64")
echo "x86_64-unknown-linux-musl" >/.platform
echo "" >/.compiler
;;
"arm64")
echo "aarch64-unknown-linux-musl" >/.platform
echo "gcc-aarch64-linux-gnu" >/.compiler
;;
"arm")
echo "arm-unknown-linux-musleabihf" >/.platform
echo "gcc-arm-linux-gnueabihf" >/.compiler
;;
esac
-1
View File
@@ -1000,7 +1000,6 @@ pub fn error(f: &mut Frame, error: AppError, seconds: Option<u8>) {
let area = popup(lines, max_line_width, f.area(), BoxLocation::MiddleCentre);
// let (paragraph, area) = gen_error(f, error, seconds);
f.render_widget(Clear, area);
f.render_widget(paragraph, area);
}