Skip to content

Commit 3ac81d7

Browse files
committed
remove redundant apk analyser bottomsheet tab
1 parent 404e5d2 commit 3ac81d7

1 file changed

Lines changed: 1 addition & 21 deletions

File tree

‎apk-viewer/src/main/kotlin/com/example/sampleplugin/ApkAnalyzer.kt‎

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import com.itsaky.androidide.plugins.PluginContext
66
import com.itsaky.androidide.plugins.extensions.UIExtension
77
import com.itsaky.androidide.plugins.extensions.EditorTabExtension
88
import com.itsaky.androidide.plugins.extensions.MenuItem
9-
import com.itsaky.androidide.plugins.extensions.TabItem
109
import com.itsaky.androidide.plugins.extensions.EditorTabItem
1110
import com.itsaky.androidide.plugins.extensions.NavigationItem
1211
import com.itsaky.androidide.plugins.extensions.FileOpenExtension
@@ -21,7 +20,7 @@ import java.io.File
2120

2221
/**
2322
* APK Analyzer plugin entry point. Provides APK structural analysis via the
24-
* main editor tab, the bottom sheet, the sidebar, and the toolbar menu.
23+
* main editor tab, the sidebar, and the toolbar menu.
2524
*/
2625
class ApkAnalyzer : IPlugin, UIExtension, EditorTabExtension, FileOpenExtension, DocumentationExtension {
2726

@@ -75,25 +74,6 @@ class ApkAnalyzer : IPlugin, UIExtension, EditorTabExtension, FileOpenExtension,
7574
)
7675
}
7776

78-
// UIExtension - Bottom sheet tab
79-
override fun getEditorTabs(): List<TabItem> {
80-
context.logger.debug("ApkAnalyzer: getEditorTabs() called")
81-
82-
return listOf(
83-
TabItem(
84-
id = "apk_analyzer_tab",
85-
title = "APK Analyzer",
86-
fragmentFactory = {
87-
context.logger.debug("ApkAnalyzer: Creating ApkAnalyzerFragment for bottom sheet")
88-
ApkAnalyzerFragment()
89-
},
90-
isEnabled = true,
91-
isVisible = true,
92-
order = 100
93-
)
94-
)
95-
}
96-
9777
// UIExtension - Sidebar navigation item
9878
override fun getSideMenuItems(): List<NavigationItem> {
9979
return listOf(

0 commit comments

Comments
 (0)