mirror of
https://github.com/bitwarden/mobile
synced 2025-12-22 19:23:58 +00:00
detect dark mode theme. set modal to full screen
This commit is contained in:
@@ -353,7 +353,7 @@ namespace Bit.iOS.Core.Services
|
||||
|
||||
public bool UsingDarkTheme()
|
||||
{
|
||||
return false;
|
||||
return UIScreen.MainScreen.TraitCollection.UserInterfaceStyle == UIUserInterfaceStyle.Dark;
|
||||
}
|
||||
|
||||
private void ImagePicker_FinishedPickingMedia(object sender, UIImagePickerMediaPickedEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user