Add android connection shortcut
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="stop">Stop</string>
|
||||
<string name="quick_toggle">Toggle</string>
|
||||
</resources>
|
||||
13
android/app/src/main/res/xml/shortcuts.xml
Normal file
13
android/app/src/main/res/xml/shortcuts.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<shortcut
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:shortcutId="toggle"
|
||||
android:shortcutLongLabel="@string/quick_toggle"
|
||||
android:shortcutShortLabel="@string/quick_toggle">
|
||||
<intent
|
||||
android:action="android.intent.action.MAIN"
|
||||
android:targetClass="com.hiddify.hiddify.ShortcutActivity"
|
||||
android:targetPackage="app.hiddify.com" />
|
||||
</shortcut>
|
||||
</shortcuts>
|
||||
Reference in New Issue
Block a user