Skip to content

Commit 2f3bc54

Browse files
committed
Update
1 parent 8afa248 commit 2f3bc54

2 files changed

Lines changed: 8 additions & 14 deletions

File tree

app/src/main/assets/home/etc/start-early.bash

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,23 +42,17 @@ if checkonline; then
4242
echo "Sum apk: $filesum"
4343
echo "Size: $websize"
4444

45-
if [[ ${PACKAGE_VERSION_NAME//./} -gt $tagname ]]; then
46-
[ -f $TEMP/update ] && rm -f $TEMP/update
47-
elif [[ ${PACKAGE_VERSION_NAME//./} == $tagname ]]; then
48-
if [[ "$websum" != "$filesum" ]] && [[ -n $websum ]]; then
45+
if [[ "${PACKAGE_VERSION_NAME//./}" == "$tagname" ]]; then
46+
if [[ "$websum" != "$filesum" ]] && [[ "$websum" ]]; then
4947
if [ ! -f $TEMP/update ] && [ -n "$tagname" ]; then
50-
echo "$websize" > $TEMP/update
48+
showtoast "$update_text_6"
5149
fi
52-
else
53-
[ -f $TEMP/update ] && rm -f $TEMP/update
5450
fi
5551
else
5652
if [ ! -f $TEMP/update ] && [ -n "$tagname" ]; then
57-
echo "$websize" > $TEMP/update
53+
showtoast "$update_text_6"
5854
fi
5955
fi
60-
61-
[ -f $TEMP/update ] && showtoast "$update_text_6"
6256
fi
6357
) &
6458

app/src/main/res/layout/activity_text_editor.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
android:background="@android:color/transparent"
4242
android:gravity="top|end"
4343
android:includeFontPadding="false"
44-
android:paddingStart="8dp"
44+
android:paddingStart="3dp"
4545
android:paddingTop="4dp"
46-
android:paddingEnd="6dp"
46+
android:paddingEnd="3dp"
4747
android:paddingBottom="4dp"
4848
android:text="1"
4949
android:textColor="?android:attr/textColorSecondary"
@@ -78,9 +78,9 @@
7878
android:includeFontPadding="false"
7979
android:inputType="textMultiLine|textNoSuggestions"
8080
android:minHeight="300dp"
81-
android:paddingStart="8dp"
81+
android:paddingStart="5dp"
8282
android:paddingTop="4dp"
83-
android:paddingEnd="16dp"
83+
android:paddingEnd="5dp"
8484
android:paddingBottom="4dp"
8585
android:textColor="?android:attr/textColorPrimary"
8686
android:textColorHint="?android:attr/textColorSecondary"

0 commit comments

Comments
 (0)