This commit is contained in:
NekoInverter 2020-01-11 12:12:25 +08:00 committed by Riko Sakurauchi
parent d5c978d1cc
commit 23761f6865
No known key found for this signature in database
GPG Key ID: 25AC0345B92902AF
6 changed files with 11 additions and 0 deletions

View File

@ -1624,6 +1624,12 @@ public class LaunchActivity extends Activity implements ActionBarLayout.ActionBa
} else if (url.contains("devices")) {
open_settings = 3;
}
} else if (url.startsWith("tg:meow") || url.startsWith("tg://meow") || url.startsWith("tg:nya") || url.startsWith("tg://nya") || url.startsWith("tg:miao") || url.startsWith("tg://miao")) {
try {
Toast.makeText(LaunchActivity.this, LocaleController.getString("Nya", R.string.Nya), Toast.LENGTH_SHORT).show();
} catch (Exception e) {
FileLog.e(e);
}
} else {
unsupportedUrl = url.replace("tg://", "").replace("tg:", "");
int index;

View File

@ -51,4 +51,5 @@
<string name="TestBackendOff">Questo account si connetterà al server principale.</string>
<string name="HideProxySponsorChannel">Nascondi canale sponsor proxy</string>
<string name="ViewHistory">Visualizza la cronologia</string>
<string name="Nya">Miao!</string>
</resources>

View File

@ -51,4 +51,5 @@
<string name="TestBackendOff">このアカウントは、本番バックエンドに接続します。</string>
<string name="HideProxySponsorChannel">Proxy sponsor channel を非表示</string>
<string name="ViewHistory">履歴を見る</string>
<string name="Nya">にゃ!</string>
</resources>

View File

@ -51,4 +51,5 @@
<string name="TestBackendOff">此账户将连接至生产后端服务器。</string>
<string name="HideProxySponsorChannel">隐藏代理赞助商频道</string>
<string name="ViewHistory">显示历史消息</string>
<string name="Nya">喵!</string>
</resources>

View File

@ -51,4 +51,5 @@
<string name="TestBackendOff">此賬戶將連接至生產後端伺服器。</string>
<string name="HideProxySponsorChannel">隱藏代理贊助商頻道</string>
<string name="ViewHistory">顯示歷史消息</string>
<string name="Nya">喵!</string>
</resources>

View File

@ -56,4 +56,5 @@
<string name="TestBackendOff">This account will connect to the production backend.</string>
<string name="HideProxySponsorChannel">Hide proxy sponsor channel</string>
<string name="ViewHistory">View history</string>
<string name="Nya">Meow!</string>
</resources>