File tree Expand file tree Collapse file tree
java/io/nekohasekai/sagernet/ktx Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -262,9 +262,7 @@ fun Context.getColorAttr(@AttrRes resId: Int): Int {
262262 }.resourceId)
263263}
264264
265- var isExpert: Boolean
266- get() = BuildConfig .DEBUG || DataStore .isExpert
267- set(value) = TODO ()
265+ val isExpert: Boolean by lazy { BuildConfig .DEBUG || DataStore .isExpert }
268266
269267val isExpertFlavor = ((BuildConfig .FLAVOR == " expert" ) || BuildConfig .DEBUG )
270268const val isOss = BuildConfig .FLAVOR == " oss"
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <menu xmlns : android =" http://schemas.android.com/apk/res/android"
3- xmlns : app =" http://schemas.android.com/apk/reyas-auto" >
2+ <menu xmlns : android =" http://schemas.android.com/apk/res/android" >
43 <item
54 android : id =" @+id/action_set_url"
6- android : title =" @string/set_panel_url"
7- app : showAsAction =" false" />
5+ android : title =" @string/set_panel_url" />
86 <item
97 android : id =" @+id/close"
10- android : title =" @string/mal_close"
11- app : showAsAction =" false" />
8+ android : title =" @string/mal_close" />
129</menu >
You can’t perform that action at this time.
0 commit comments