Skip to content

Commit 8fcd5e0

Browse files
committed
Release push to 2.0.6
1 parent 251493e commit 8fcd5e0

11 files changed

Lines changed: 51 additions & 31 deletions

File tree

app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ android {
1212
applicationId "ir.ninjacoder.ghostide"
1313
minSdk 26
1414
targetSdk 35
15-
versionCode 36
16-
versionName "2.0.5"
15+
versionCode 38
16+
versionName "2.0.6"
1717
vectorDrawables {
1818
useSupportLibrary true
1919
}
@@ -67,13 +67,13 @@ android {
6767
arm32 {
6868
dimension "abi"
6969
ndk {
70-
abiFilters "armeabi-v7a", "x86"
70+
abiFilters "armeabi-v7a"
7171
}
7272
}
7373
arm64 {
7474
dimension "abi"
7575
ndk {
76-
abiFilters "armeabi-v8a", "x86_64", "arm64-v8a"
76+
abiFilters "armeabi-v8a","arm64-v8a"
7777
}
7878
}
7979

core/src/main/java/ir/ninjacoder/ghostide/core/MainActivity.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import com.hzy.lib7z.IExtractCallback;
2323
import com.hzy.lib7z.Z7Extractor;
2424

25+
import ir.ninjacoder.ghostide.core.utils.AnimUtils;
2526
import java.io.File;
2627

2728
import ir.ninjacoder.ghostide.core.Welcome.SplashWord;
@@ -59,6 +60,7 @@ protected void onCreate(Bundle _savedInstanceState) {
5960
super.onCreate(_savedInstanceState);
6061
setContentView(bind.getRoot());
6162
initialize(_savedInstanceState);
63+
AnimUtils.Sacla(bind.iconSp);
6264
}
6365

6466
private void initialize(Bundle _savedInstanceState) {

core/src/main/java/ir/ninjacoder/ghostide/core/adapter/PluginAdapter.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import androidx.recyclerview.widget.RecyclerView;
77
import ir.ninjacoder.ghostide.core.databinding.LayoutPluginAdapterBinding;
88
import ir.ninjacoder.ghostide.core.model.PlModel;
9+
import ir.ninjacoder.ghostide.core.utils.AnimUtils;
910
import ir.ninjacoder.ghostide.core.utils.ObjectUtils;
1011
import ir.ninjacoder.prograsssheet.enums.ModBackground;
1112
import java.util.ArrayList;
@@ -87,7 +88,7 @@ public void bind(PlModel item) {
8788
binding.getRoot().setSwitchChangedListener(null);
8889
ObjectUtils.setHighlightSearchText(
8990
binding.getRoot().getTitle(), item.getName(), currentQuery);
90-
91+
AnimUtils.Sacla(binding.getRoot());
9192
binding.getRoot().setDescription(item.getDev());
9293
binding.getRoot().setValue(item.getIsusing());
9394
binding.getRoot().setIconPath(item.getIcon());

core/src/main/java/ir/ninjacoder/ghostide/core/navigator/EditorRoaderFile.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ public void onCancel() {
225225
public String doInBackground() {
226226
return decompileClass(new File(path));
227227
}
228+
228229
});
229230

230231
} else if (path.endsWith(".yml")) {
@@ -259,7 +260,9 @@ public String doInBackground() {
259260
if (path.endsWith(it.getTypeExz())) {
260261
ReadFileCompat(editor, path, bar);
261262
if (it.getLanguageProvider() != null) it.getLanguageProvider().run();
262-
fab.postDelayed(it.getShowfab() ? fab::hide : fab::show, 400);
263+
if (it.getShowfab() == true) {
264+
fab.show();
265+
} else fab.hide();
263266
return;
264267
}
265268
}

core/src/main/java/ir/ninjacoder/ghostide/core/terminal/TerminalActivity.java

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
import android.os.Bundle;
44
import android.view.View;
5-
5+
import android.widget.FrameLayout;
6+
import com.google.android.material.tabs.TabLayout;
67
import ir.ninjacoder.ghostide.core.R;
78
import ir.ninjacoder.ghostide.core.activities.BaseCompat;
89
import ir.ninjacoder.ghostide.core.databinding.TerminalactivityBinding;
9-
import ir.ninjacoder.ghostide.core.terminal.TerminalTabSeasonImpl;
1010

1111
public class TerminalActivity extends BaseCompat {
1212
private TerminalactivityBinding bin;
@@ -43,4 +43,16 @@ protected void onCreate(Bundle _savedInstanceState) {
4343
}
4444
}
4545
}
46+
47+
public TabLayout getTabLayoutTerminal() {
48+
return bin.tabLayout;
49+
}
50+
51+
public FrameLayout getFrameContent() {
52+
return bin.terminalContainer;
53+
}
54+
55+
public View getRoot() {
56+
return bin.getRoot();
57+
}
4658
}

core/src/main/res/layout/layout_plugin_adapter.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
xmlns:app="http://schemas.android.com/apk/res-auto"
44
android:id="@+id/layout_switch_prfns"
55
android:layout_width="match_parent"
6-
android:layout_marginTop="4dp"
6+
android:layout_marginTop="2dp"
77
android:layout_marginEnd="2dp"
88
android:layout_marginStart="2dp"
9-
android:layout_marginBottom="4dp"
9+
android:layout_marginBottom="2dp"
1010
android:layout_height="wrap_content">
1111

1212
</ir.ninjacoder.prograsssheet.perfence.PreferenceSwitchGroup>

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#AndroidIDE: enforce UTF-8 & locale for Gradle daemon
2-
#Mon Dec 15 08:56:12 GMT 2025
2+
#Tue Dec 16 12:28:12 GMT 2025
33
android.suppressUnsupportedCompileSdk=35
44
android.nonTransitiveRClass=false
55
-Dfile.encoding=UTF-8

prograsssheetlib/src/main/java/ir/ninjacoder/prograsssheet/RecyclerViewSearchLayoutSheet.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ public RecyclerViewSearchLayoutSheet dismiss() {
6161
return this;
6262
}
6363

64-
65-
6664
class Sheet extends CustomSheet {
6765
public Sheet(Context c) {
6866
super(c);

prograsssheetlib/src/main/java/ir/ninjacoder/prograsssheet/perfence/ListItemView.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,25 +43,22 @@ Drawable normal() {
4343
}
4444

4545
Drawable bottom() {
46-
return createRippleBackground(4f, 4f, 18f, 18f);
46+
return createRippleBackground(6f, 6f, 18f, 18f);
4747
}
4848

4949
Drawable top() {
50-
return createRippleBackground(18f, 18f, 4f, 4f);
50+
return createRippleBackground(18f, 18f, 6f, 6f);
5151
}
5252

5353
Drawable middle() {
54-
return createRippleBackground(4f, 4f, 4f, 4f);
54+
return createRippleBackground(6f, 6f, 6f, 6f);
5555
}
5656

5757
Drawable createRippleBackground(
5858
float topLeft, float topRight, float bottomLeft, float bottomRight) {
5959
try {
60-
// ایجاد GradientDrawable به عنوان شکل زمینه
6160
GradientDrawable backgroundDrawable = new GradientDrawable();
6261
backgroundDrawable.setShape(GradientDrawable.RECTANGLE);
63-
64-
// تنظیم corner radii
6562
backgroundDrawable.setCornerRadii(
6663
new float[] {
6764
dpToPx(topLeft), dpToPx(topLeft),

prograsssheetlib/src/main/java/ir/ninjacoder/prograsssheet/perfence/PreferenceSwitchGroup.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,13 @@ public void setIcon(Bitmap icon) {
9797
public void setIconPath(String path) {
9898
showicon(true);
9999
if (!path.isEmpty())
100-
Glide.with(binding.preferenceIcon.getContext()).load(path).into(binding.preferenceIcon);
100+
if (path.endsWith(".gif")) {
101+
Glide.with(binding.preferenceIcon.getContext())
102+
.asGif()
103+
.load(path)
104+
.into(binding.preferenceIcon);
105+
} else
106+
Glide.with(binding.preferenceIcon.getContext()).load(path).into(binding.preferenceIcon);
101107
}
102108

103109
public void setValue(boolean value) {

0 commit comments

Comments
 (0)