fix: no forcely adaptive view style, if peer is android (#8189)

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou authored and GitHub committed 2024-05-29 12:24:33 +08:00
1 parent 89d855d085
commit d2f119b85e
2 files changed
+1 -5

No files matched your search

+1 -1
View File
@@ -564,7 +564,7 @@ Future<List<TToggleMenu>> toolbarDisplayToggle(
child: Text(translate('Disable clipboard'))));
}
// lock after session end
if (ffiModel.keyboard) {
if (ffiModel.keyboard && !ffiModel.isPeerAndroid) {
final enabled = !ffiModel.viewOnly;
final option = 'lock-after-session-end';
final value =