mirror of
https://github.com/MatsuriDayo/NekoBoxForAndroid.git
synced 2025-12-19 14:40:06 +08:00
refactor: Improve Code Conformance
This commit is contained in:
parent
8f4a02ae93
commit
a82e5b4f2c
@ -262,9 +262,7 @@ fun Context.getColorAttr(@AttrRes resId: Int): Int {
|
||||
}.resourceId)
|
||||
}
|
||||
|
||||
var isExpert: Boolean
|
||||
get() = BuildConfig.DEBUG || DataStore.isExpert
|
||||
set(value) = TODO()
|
||||
val isExpert: Boolean by lazy { BuildConfig.DEBUG || DataStore.isExpert }
|
||||
|
||||
val isExpertFlavor = ((BuildConfig.FLAVOR == "expert") || BuildConfig.DEBUG)
|
||||
const val isOss = BuildConfig.FLAVOR == "oss"
|
||||
|
||||
@ -1,12 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/reyas-auto">
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:id="@+id/action_set_url"
|
||||
android:title="@string/set_panel_url"
|
||||
app:showAsAction="false" />
|
||||
android:title="@string/set_panel_url" />
|
||||
<item
|
||||
android:id="@+id/close"
|
||||
android:title="@string/mal_close"
|
||||
app:showAsAction="false" />
|
||||
android:title="@string/mal_close" />
|
||||
</menu>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user